more meteor trash, chlorine seal, missile recipes, BF explosion
@ -135,7 +135,7 @@ chem.SF_BIOFUEL=Biodieselverfestigung
|
||||
chem.POLYMER=Polymersynthese
|
||||
chem.DEUTERIUM=Deuteriumextrahierung
|
||||
chem.STEAM=Wasser kochen
|
||||
chem.YELLOWCAKE=Yellowcakeproduction
|
||||
chem.YELLOWCAKE=Yellowcakeproduktion
|
||||
chem.UF6=Uranhexafluoritproduktion
|
||||
chem.PUF6=Plutoniumhexafluoritproduktion
|
||||
chem.BP_BIOGAS=Biogasherstellung
|
||||
@ -147,6 +147,9 @@ chem.DYN_EUPH=Euphemium-Dynosynthese
|
||||
chem.DYN_DNT=Dineutronium-Dynosynthese
|
||||
chem.CORDITE=Korditherstellung
|
||||
chem.KEVLAR=Kevlarverbundherstellung
|
||||
chem.SOLID_FUEL=Festbrennstoffherstellung
|
||||
chem.ELECTROLYSIS=Kryo-Elektrolyse
|
||||
chem.XENON=Lindeverfahren (Xenon)
|
||||
|
||||
item.record.lc.desc=Valve - Diabolic Adrenaline Guitar/Lambda Core
|
||||
item.record.ss.desc=Valve - Sector Sweep
|
||||
@ -454,7 +457,7 @@ container.reactorControl=Reaktorfernsteuerung
|
||||
|
||||
tile.broadcaster_pc.name=Korrupter Sender
|
||||
|
||||
tile.radiobox.name=Rosenberg Ungeziefervernichter [WIP]
|
||||
tile.radiobox.name=Rosenberg Ungeziefervernichter
|
||||
tile.radiorec.name=Kaputtes UKW Radio
|
||||
container.radiobox=UKW-Sender
|
||||
container.radiorec=UKW Radio
|
||||
@ -552,6 +555,7 @@ item.bobmazon_materials.name=Bobmazon: Ressourcen
|
||||
item.bobmazon_machines.name=Bobmazon: Blöcke und Maschinen
|
||||
item.bobmazon_weapons.name=Bobmazon: Waffen und Sprengstoffe
|
||||
item.bobmazon_tools.name=Bobmazon: Werkzeuge
|
||||
item.bobmazon_hidden.name=Versteckter Katalog
|
||||
|
||||
item.fuse.name=Sicherung
|
||||
item.arc_electrode.name=Graphitelektrode
|
||||
@ -767,6 +771,17 @@ tile.ore_nether_sulfur.name=Nether-Schwefelerz
|
||||
tile.ore_nether_fire.name=Feuererz
|
||||
tile.ore_nether_schrabidium.name=Nether-Schrabidiumerz
|
||||
|
||||
tile.ore_meteor_aluminium.name=Meteoriten-Aluminiumerz
|
||||
tile.ore_meteor_copper.name=Meteoriten-Kupfererz
|
||||
tile.ore_meteor_sulfur.name=Meteoriten-Schwefelerz
|
||||
tile.ore_meteor_titanium.name=Meteoriten-Titanerz
|
||||
tile.ore_meteor_tungsten.name=Meteoriten-Wolframerz
|
||||
tile.ore_meteor_uranium.name=Meteoriten-Uranerz
|
||||
tile.ore_meteor_thorium.name=Meteoriten-Thoriumerz
|
||||
tile.ore_meteor_lead.name=Meteoriten-Bleierz
|
||||
tile.ore_meteor_lithium.name=Meteoriten-Lithiumerz
|
||||
tile.ore_meteor_starmetal.name=Sternenmetallerz
|
||||
|
||||
tile.ore_tikite.name=Trixit
|
||||
|
||||
tile.ore_australium.name=Australisches Erz
|
||||
@ -1454,6 +1469,7 @@ item.ammo_rocket_incendiary.name=84mm Rakete (Brand)
|
||||
item.ammo_rocket_shrapnel.name=84mm Rakete (Schrapnell)
|
||||
item.ammo_rocket_emp.name=84mm Rakete (Impuls)
|
||||
item.ammo_rocket_glare.name=84mm Rakete (Roter Schein)
|
||||
item.ammo_rocket_toxic.name=84mm Rakete (Chemisch)
|
||||
item.ammo_rocket_sleek.name=84mm Rakete (IF-R&D)
|
||||
item.ammo_rocket_nuclear.name=84mm Rakete (Привет)
|
||||
item.ammo_rocket_rpc.name=84mm Raketengetriebene Kettensäge
|
||||
@ -1461,6 +1477,9 @@ item.ammo_grenade.name=40mm Granate
|
||||
item.ammo_grenade_he.name=40mm Granate (HE)
|
||||
item.ammo_grenade_incendiary.name=40mm Granate (Brand)
|
||||
item.ammo_grenade_toxic.name=40mm Granate (Chemisch)
|
||||
item.ammo_grenade_concussion.name=40mm Granate (Erschütterung)
|
||||
item.ammo_grenade_finned.name=40mm Granate (Geflügelt)
|
||||
item.ammo_grenade_nuclear.name=40mm Granate (Привет)
|
||||
item.ammo_grenade_sleek.name=40mm Granate (IF-F&E)
|
||||
|
||||
item.folly_shell.name=Silberne Kanonenhülse
|
||||
@ -1469,6 +1488,7 @@ item.folly_bullet_nuclear.name=12,8cm Atomares Geschoss
|
||||
item.folly_bullet_du.name=12,8cm DU-Geschoss
|
||||
|
||||
item.cordite.name=Kordit
|
||||
item.ballistite.name=Ballistit
|
||||
item.plate_kevlar.name=Kevlar-Keramik-Verbund
|
||||
|
||||
item.weaponized_starblaster_cell.name=§cManipulierte Sternenblaster-Energiezelle§r
|
||||
@ -1660,6 +1680,10 @@ item.missile_bhole.name=Schwarzes-Loch-Rakete
|
||||
item.missile_schrabidium.name=Schrabidiumrakete
|
||||
item.missile_emp.name=EMP-Rakete
|
||||
|
||||
item.seg_10.name=Größe 10 Bindeglied
|
||||
item.seg_15.name=Größe 15 Bindeglied
|
||||
item.seg_20.name=Größe 20 Bindeglied
|
||||
|
||||
item.mp_c_1.name=Stufe 1 Zielsucher-Schaltkreis
|
||||
item.mp_c_2.name=Stufe 2 Zielsucher-Schaltkreis
|
||||
item.mp_c_3.name=Stufe 3 Zielsucher-Schaltkreis
|
||||
@ -1672,6 +1696,7 @@ item.mp_warhead_10_buster.name=Größe 10 Bunkerbrechender Sprengkopf
|
||||
item.mp_warhead_10_nuclear.name=Größe 10 Mikro-Atomsprengkopf "Kleine Krokette"
|
||||
item.mp_warhead_10_nuclear_large.name=Größe 10 Atomsprengkopf "Chernobyl Boris"
|
||||
item.mp_warhead_10_taint.name=Größe 10 Verseuchter Gefechtskopf
|
||||
item.mp_warhead_10_cloud.name=Größe 10 Rosa Wolken-Gefechtskopf
|
||||
item.mp_warhead_15_he.name=Größe 15 HE-Sprengkopf
|
||||
item.mp_warhead_15_incendiary.name=Größe 15 Brandsprengkopf
|
||||
item.mp_warhead_15_nuclear.name=Größe 15 Atomsprengkopf "Tantchen Bertha"
|
||||
@ -1754,6 +1779,8 @@ item.mp_fuselage_15_hydrogen_cathedral.name=Größe 15 Wasserstofftank
|
||||
item.mp_fuselage_15_balefire.name=Größe 15 BF-Kraftstofftank
|
||||
|
||||
item.mp_fuselage_15_20_kerosene.name=Größe 15/20 Kerosintank
|
||||
item.mp_fuselage_15_20_kerosene_magnusson.name=Größe 15/20 Kerosintank
|
||||
item.mp_fuselage_15_20_solid.name=Größe 15/20 Festbrennstofftank
|
||||
|
||||
item.mp_stability_10_flat.name=Größe 10 Flache Flügel
|
||||
item.mp_stability_10_cruise.name=Größe 10 Cruise-Flügel
|
||||
@ -1776,6 +1803,12 @@ item.mp_thruster_15_balefire_short.name=Größe 15 BF-Triebwerk mit nuklearem Vo
|
||||
item.mp_thruster_15_balefire.name=Größe 15 BF-Triebwerk mit nuklearem Vorwärmer
|
||||
item.mp_thruster_15_balefire_large.name=Größe 15 BF-Triebwerk mit nuklearem Vorwärmer (Schwerlastdüse)
|
||||
item.mp_thruster_15_balefire_large_rad.name=Größe 15 BF-Triebwerk mit nuklearem Vorwärmer (Schwerlastdüse)
|
||||
item.mp_thruster_20_kerosene.name=Größe 20 Flüssigtriebwerk
|
||||
item.mp_thruster_20_kerosene_dual.name=Größe 20 Flüssigtriebwerk-Zwilling
|
||||
item.mp_thruster_20_kerosene_triple.name=Größe 20 Flüssigtriebwerk-Drilling
|
||||
item.mp_thruster_20_solid.name=Größe 20 Festbrennstofftriebwerk
|
||||
item.mp_thruster_20_solid_multi.name=Größe 20 30-Faches Festbrennstofftriebwerk
|
||||
item.mp_thruster_20_solid_multier.name=Größe 20 47-Faches Festbrennstofftriebwerk
|
||||
|
||||
item.missile_skin_camo.name=Raketenskin: Camouflage
|
||||
item.missile_skin_desert.name=Raketenskin: Wüstencamouflage
|
||||
@ -2190,6 +2223,10 @@ item.book_secret.name=3-596-50802-9
|
||||
item.book_of_.name=Das Buch der
|
||||
item.burnt_bark.name=Verbrannte Rinde
|
||||
|
||||
item.loot_10.name=Größe 10 Raketen-Lootbox
|
||||
item.loot_15.name=Größe 15 Raketen-Lootbox
|
||||
item.loot_misc.name=Generelle Raketen-Lootbox
|
||||
|
||||
item.crystal_horn.name=Kristallhorn
|
||||
item.crystal_charred.name=Verkohlter Kristall
|
||||
item.ingot_lanthanium.name=Semistabiler Lanthanbarren
|
||||
|
||||
@ -147,6 +147,9 @@ chem.DYN_EUPH=Euphemium Dynosynthesis
|
||||
chem.DYN_DNT=Dineutronium Dynosynthesis
|
||||
chem.CORDITE=Cordite Production
|
||||
chem.KEVLAR=Kevlar Compound Production
|
||||
chem.SOLID_FUEL=Solid Rocket Fuel Production
|
||||
chem.ELECTROLYSIS=Cryo-Electrolysis
|
||||
chem.XENON=Linde Xenon Cycle
|
||||
|
||||
item.record.lc.desc=Valve - Diabolic Adrenaline Guitar/Lambda Core
|
||||
item.record.ss.desc=Valve - Sector Sweep
|
||||
@ -454,7 +457,7 @@ container.reactorControl=Reactor Remote Control Block
|
||||
|
||||
tile.broadcaster_pc.name=Corrupted Broadcaster
|
||||
|
||||
tile.radiobox.name=Rosenberg Pest Control Box [WIP]
|
||||
tile.radiobox.name=Rosenberg Pest Control Box
|
||||
tile.radiorec.name=Broken FM Radio
|
||||
container.radiobox=FM Transmitter
|
||||
container.radiorec=FM Radio
|
||||
@ -552,6 +555,7 @@ item.bobmazon_materials.name=Bobmazon: Materials
|
||||
item.bobmazon_machines.name=Bobmazon: Blocks and Machines
|
||||
item.bobmazon_weapons.name=Bobmazon: Weapons and Explosives
|
||||
item.bobmazon_tools.name=Bobmazon: Tools
|
||||
item.bobmazon_hidden.name=Hidden Catalog
|
||||
|
||||
item.fuse.name=Fuse
|
||||
item.arc_electrode.name=Graphite Electrode
|
||||
@ -767,6 +771,17 @@ 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_meteor_aluminium.name=Meteor Aluminium Ore
|
||||
tile.ore_meteor_copper.name=Meteor Copper Ore
|
||||
tile.ore_meteor_sulfur.name=Meteor Sulfur Ore
|
||||
tile.ore_meteor_titanium.name=Meteor Titanium Ore
|
||||
tile.ore_meteor_tungsten.name=Meteor Tungsten Ore
|
||||
tile.ore_meteor_uranium.name=Meteor Uranium Ore
|
||||
tile.ore_meteor_thorium.name=Meteor Thorium Ore
|
||||
tile.ore_meteor_lead.name=Meteor Lead Ore
|
||||
tile.ore_meteor_lithium.name=Meteor Lithium Ore
|
||||
tile.ore_meteor_starmetal.name=Starmetal Ore
|
||||
|
||||
tile.ore_tikite.name=Trixite
|
||||
|
||||
tile.ore_australium.name=Australian Ore
|
||||
@ -1454,6 +1469,7 @@ item.ammo_rocket_incendiary.name=84mm Rocket (Incendiary)
|
||||
item.ammo_rocket_shrapnel.name=84mm Rocket (Shrapnel)
|
||||
item.ammo_rocket_emp.name=84mm Rocket (Pulse)
|
||||
item.ammo_rocket_glare.name=84mm Rocket (Red Glare)
|
||||
item.ammo_rocket_toxic.name=84mm Rocket (Chemical)
|
||||
item.ammo_rocket_sleek.name=84mm Rocket (IF-R&D)
|
||||
item.ammo_rocket_nuclear.name=84mm Rocket (Привет)
|
||||
item.ammo_rocket_rpc.name=84mm Rocket Propelled Chainsaw
|
||||
@ -1461,6 +1477,9 @@ item.ammo_grenade.name=40mm Grenade
|
||||
item.ammo_grenade_he.name=40mm Grenade (HE)
|
||||
item.ammo_grenade_incendiary.name=40mm Grenade (Incendiary)
|
||||
item.ammo_grenade_toxic.name=40mm Grenade (Chemical)
|
||||
item.ammo_grenade_concussion.name=40mm Grenade (Concussion)
|
||||
item.ammo_grenade_finned.name=40mm Grenade (Finned)
|
||||
item.ammo_grenade_nuclear.name=40mm Grenade (Привет)
|
||||
item.ammo_grenade_sleek.name=40mm Grenade (IF-R&D)
|
||||
|
||||
item.folly_shell.name=Silver Bullet Casing
|
||||
@ -1469,6 +1488,7 @@ item.folly_bullet_nuclear.name=12.8cm Nuclear Shell
|
||||
item.folly_bullet_du.name=12.8cm DU-Shell
|
||||
|
||||
item.cordite.name=Cordite
|
||||
item.ballistite.name=Ballistite
|
||||
item.plate_kevlar.name=Kevlar-Ceramic Compound
|
||||
|
||||
item.weaponized_starblaster_cell.name=§cRigged Star Blaster Energy Cell§r
|
||||
@ -1660,6 +1680,10 @@ item.missile_bhole.name=Black Hole Missile
|
||||
item.missile_schrabidium.name=Schrabidium Missile
|
||||
item.missile_emp.name=EMP Missile
|
||||
|
||||
item.seg_10.name=Size 10 Connector
|
||||
item.seg_15.name=Size 15 Connector
|
||||
item.seg_20.name=Size 20 Connector
|
||||
|
||||
item.mp_c_1.name=Tier 1 Missile Targeting Circuit
|
||||
item.mp_c_2.name=Tier 2 Missile Targeting Circuit
|
||||
item.mp_c_3.name=Tier 3 Missile Targeting Circuit
|
||||
@ -1671,6 +1695,7 @@ item.mp_warhead_10_incendiary.name=Size 10 Incendiary Warhead
|
||||
item.mp_warhead_10_buster.name=Size 10 Bunker Buster Warhead
|
||||
item.mp_warhead_10_nuclear.name=Size 10 Micro Nuclear Warhead
|
||||
item.mp_warhead_10_taint.name=Size 10 Tainted Warhead
|
||||
item.mp_warhead_10_cloud.name=Size 10 Pink Cloud Warhead
|
||||
item.mp_warhead_15_he.name=Size 15 HE Warhead
|
||||
item.mp_warhead_15_incendiary.name=Size 15 Incendiary Warhead
|
||||
item.mp_warhead_10_nuclear_large.name=Size 10 Nuclear Warhead
|
||||
@ -1754,6 +1779,8 @@ item.mp_fuselage_15_hydrogen_cathedral.name=Size 15 Hydrogen Fuselage
|
||||
item.mp_fuselage_15_balefire.name=Size 15 BF Fuselage
|
||||
|
||||
item.mp_fuselage_15_20_kerosene.name=Size 15/20 Kerosene Fuselage
|
||||
item.mp_fuselage_15_20_kerosene_magnusson.name=Size 15/20 Kerosene Fuselage
|
||||
item.mp_fuselage_15_20_solid.name=Size 15/20 Solid Fuel Fuselage
|
||||
|
||||
item.mp_stability_10_flat.name=Size 10 Flat Fins
|
||||
item.mp_stability_10_cruise.name=Size 10 Cruise Fins
|
||||
@ -1776,6 +1803,12 @@ item.mp_thruster_15_balefire_short.name=Size 15 BF Thruster with Nuclear Preheat
|
||||
item.mp_thruster_15_balefire.name=Size 15 BF Thruster with Nuclear Preheater
|
||||
item.mp_thruster_15_balefire_large.name=Size 15 BF Thruster with Nuclear Preheater (Heavy Duty Nozzle)
|
||||
item.mp_thruster_15_balefire_large_rad.name=Size 15 BF Thruster with Nuclear Preheater (Heavy Duty Nozzle)
|
||||
item.mp_thruster_20_kerosene.name=Size 20 Liquid Fuel Thruster
|
||||
item.mp_thruster_20_kerosene_dual.name=Size 20 Liquid Fuel Twin Thrusters
|
||||
item.mp_thruster_20_kerosene_triple.name=Size 20 Liquid Fuel Triple Thrusters
|
||||
item.mp_thruster_20_solid.name=Size 20 Solid Fuel Thruster
|
||||
item.mp_thruster_20_solid_multi.name=Size 20 Solid Fuel Hexdecuple 30-Fold Thrusters
|
||||
item.mp_thruster_20_solid_multier.name=Size 20 Solid Fuel Hexdecuple 47-Fold Thrusters
|
||||
|
||||
item.missile_skin_camo.name=Missile Skin: Camo
|
||||
item.missile_skin_desert.name=Missile Skin: Desert Camo
|
||||
@ -2190,6 +2223,10 @@ item.book_secret.name=3-596-50802-9
|
||||
item.book_of_.name=The Book of
|
||||
item.burnt_bark.name=Burnt Bark
|
||||
|
||||
item.loot_10.name=Size 10 Missile Loot Crate
|
||||
item.loot_15.name=Size 15 Missile Loot Crate
|
||||
item.loot_misc.name=General Missile Loot Crate
|
||||
|
||||
item.crystal_horn.name=Crystal Horn
|
||||
item.crystal_charred.name=Charred Crystal
|
||||
item.ingot_lanthanium.name=Semi-Stable Lanthanium Ingot
|
||||
|
||||
37
assets/hbm/models/beam.obj
Normal file
@ -0,0 +1,37 @@
|
||||
# Blender v2.76 (sub 0) OBJ File: 'beam.blend'
|
||||
# www.blender.org
|
||||
o Cube_Cube.001
|
||||
v -0.062500 0.000000 0.062500
|
||||
v -0.062500 1.000000 0.062500
|
||||
v -0.062500 0.000000 -0.062500
|
||||
v -0.062500 1.000000 -0.062500
|
||||
v 0.062500 0.000000 0.062500
|
||||
v 0.062500 1.000000 0.062500
|
||||
v 0.062500 0.000000 -0.062500
|
||||
v 0.062500 1.000000 -0.062500
|
||||
vt 0.000035 0.999965
|
||||
vt 0.000035 0.000035
|
||||
vt 0.125027 0.000035
|
||||
vt 0.250000 0.000000
|
||||
vt 0.250000 0.125000
|
||||
vt 0.125000 0.125000
|
||||
vt 0.125027 0.999965
|
||||
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
|
||||
s off
|
||||
f 4/1/1 3/2/1 1/3/1
|
||||
f 8/1/2 7/2/2 3/3/2
|
||||
f 6/1/3 5/2/3 7/3/3
|
||||
f 2/1/4 1/2/4 5/3/4
|
||||
f 3/4/5 7/5/5 5/6/5
|
||||
f 8/4/6 4/5/6 2/6/6
|
||||
f 2/7/1 4/1/1 1/3/1
|
||||
f 4/7/2 8/1/2 3/3/2
|
||||
f 8/7/3 6/1/3 7/3/3
|
||||
f 6/7/4 2/1/4 5/3/4
|
||||
f 1/3/5 3/4/5 5/6/5
|
||||
f 6/3/6 8/4/6 2/6/6
|
||||
2263
assets/hbm/models/missile_parts/mp_t_20_solid_multi.obj
Normal file
BIN
assets/hbm/textures/blocks/balefire.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
3
assets/hbm/textures/blocks/balefire.png.mcmeta
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"animation": { }
|
||||
}
|
||||
BIN
assets/hbm/textures/blocks/block_starmetal.png
Normal file
|
After Width: | Height: | Size: 696 B |
|
Before Width: | Height: | Size: 102 B After Width: | Height: | Size: 102 B |
BIN
assets/hbm/textures/blocks/cluster_blank.png
Normal file
|
After Width: | Height: | Size: 382 B |
|
Before Width: | Height: | Size: 332 B |
|
Before Width: | Height: | Size: 335 B |
|
Before Width: | Height: | Size: 330 B |
|
Before Width: | Height: | Size: 335 B |
|
Before Width: | Height: | Size: 339 B |
BIN
assets/hbm/textures/blocks/launch_table.png
Normal file
|
After Width: | Height: | Size: 215 B |
BIN
assets/hbm/textures/blocks/ore_meteor_aluminium.png
Normal file
|
After Width: | Height: | Size: 765 B |
BIN
assets/hbm/textures/blocks/ore_meteor_copper.png
Normal file
|
After Width: | Height: | Size: 806 B |
BIN
assets/hbm/textures/blocks/ore_meteor_lead.png
Normal file
|
After Width: | Height: | Size: 774 B |
BIN
assets/hbm/textures/blocks/ore_meteor_lithium.png
Normal file
|
After Width: | Height: | Size: 822 B |
BIN
assets/hbm/textures/blocks/ore_meteor_starmetal.png
Normal file
|
After Width: | Height: | Size: 635 B |
BIN
assets/hbm/textures/blocks/ore_meteor_sulfur.png
Normal file
|
After Width: | Height: | Size: 845 B |
BIN
assets/hbm/textures/blocks/ore_meteor_thorium.png
Normal file
|
After Width: | Height: | Size: 749 B |
BIN
assets/hbm/textures/blocks/ore_meteor_titanium.png
Normal file
|
After Width: | Height: | Size: 800 B |
BIN
assets/hbm/textures/blocks/ore_meteor_tungsten.png
Normal file
|
After Width: | Height: | Size: 768 B |
BIN
assets/hbm/textures/blocks/ore_meteor_uranium.png
Normal file
|
After Width: | Height: | Size: 786 B |
|
Before Width: | Height: | Size: 312 B After Width: | Height: | Size: 281 B |
|
Before Width: | Height: | Size: 319 B After Width: | Height: | Size: 508 B |
|
Before Width: | Height: | Size: 238 B After Width: | Height: | Size: 210 B |
BIN
assets/hbm/textures/items/ammo_rocket_toxic.png
Normal file
|
After Width: | Height: | Size: 308 B |
BIN
assets/hbm/textures/items/ballistite.png
Normal file
|
After Width: | Height: | Size: 315 B |
BIN
assets/hbm/textures/items/chem_icon_ELECTROLYSIS.png
Normal file
|
After Width: | Height: | Size: 284 B |
BIN
assets/hbm/textures/items/chem_icon_SOLID_FUEL.png
Normal file
|
After Width: | Height: | Size: 457 B |
BIN
assets/hbm/textures/items/chem_icon_XENON.png
Normal file
|
After Width: | Height: | Size: 217 B |
BIN
assets/hbm/textures/items/fragment_blank.png
Normal file
|
After Width: | Height: | Size: 353 B |
BIN
assets/hbm/textures/models/balefire.png
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 676 B |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 759 B After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 516 B After Width: | Height: | Size: 617 B |
@ -67,6 +67,17 @@ public class ModBlocks {
|
||||
public static Block ore_nether_fire;
|
||||
public static Block ore_nether_schrabidium;
|
||||
|
||||
public static Block ore_meteor_uranium;
|
||||
public static Block ore_meteor_thorium;
|
||||
public static Block ore_meteor_titanium;
|
||||
public static Block ore_meteor_sulfur;
|
||||
public static Block ore_meteor_copper;
|
||||
public static Block ore_meteor_tungsten;
|
||||
public static Block ore_meteor_aluminium;
|
||||
public static Block ore_meteor_lead;
|
||||
public static Block ore_meteor_lithium;
|
||||
public static Block ore_meteor_starmetal;
|
||||
|
||||
public static Block ore_australium;
|
||||
public static Block ore_weidanium;
|
||||
public static Block ore_reiium;
|
||||
@ -104,6 +115,7 @@ public class ModBlocks {
|
||||
public static Block block_magnetized_tungsten;
|
||||
public static Block block_combine_steel;
|
||||
public static Block block_desh;
|
||||
public static Block block_starmetal;
|
||||
public static Block block_yellowcake;
|
||||
|
||||
public static Block block_australium;
|
||||
@ -429,6 +441,8 @@ public class ModBlocks {
|
||||
public static Block fwatz_plasma;
|
||||
public static final int guiID_fwatz_multiblock = 33;
|
||||
|
||||
public static Block balefire;
|
||||
|
||||
public static Block ams_base;
|
||||
public static final int guiID_ams_base = 54;
|
||||
public static Block ams_emitter;
|
||||
@ -610,6 +624,8 @@ public class ModBlocks {
|
||||
public static Block vent_chlorine;
|
||||
public static Block vent_cloud;
|
||||
public static Block vent_pink_cloud;
|
||||
public static Block vent_chlorine_seal;
|
||||
public static Block chlorine_gas;
|
||||
|
||||
public static Block absorber;
|
||||
public static Block absorber_red;
|
||||
@ -714,6 +730,17 @@ public class ModBlocks {
|
||||
ore_nether_fire = new BlockOre(Material.rock).setBlockName("ore_nether_fire").setCreativeTab(MainRegistry.blockTab).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.blockTab).setHardness(15.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":ore_nether_schrabidium");
|
||||
|
||||
ore_meteor_uranium = new BlockOre(Material.rock).setBlockName("ore_meteor_uranium").setCreativeTab(MainRegistry.blockTab).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_meteor_uranium");
|
||||
ore_meteor_thorium = new BlockOre(Material.rock).setBlockName("ore_meteor_thorium").setCreativeTab(MainRegistry.blockTab).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_meteor_thorium");
|
||||
ore_meteor_titanium = new BlockOre(Material.rock).setBlockName("ore_meteor_titanium").setCreativeTab(MainRegistry.blockTab).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_meteor_titanium");
|
||||
ore_meteor_sulfur = new BlockOre(Material.rock).setBlockName("ore_meteor_sulfur").setCreativeTab(MainRegistry.blockTab).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_meteor_sulfur");
|
||||
ore_meteor_copper = new BlockOre(Material.rock).setBlockName("ore_meteor_copper").setCreativeTab(MainRegistry.blockTab).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_meteor_copper");
|
||||
ore_meteor_tungsten = new BlockOre(Material.rock).setBlockName("ore_meteor_tungsten").setCreativeTab(MainRegistry.blockTab).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_meteor_tungsten");
|
||||
ore_meteor_aluminium = new BlockOre(Material.rock).setBlockName("ore_meteor_aluminium").setCreativeTab(MainRegistry.blockTab).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_meteor_aluminium");
|
||||
ore_meteor_lead = new BlockOre(Material.rock).setBlockName("ore_meteor_lead").setCreativeTab(MainRegistry.blockTab).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_meteor_lead");
|
||||
ore_meteor_lithium = new BlockOre(Material.rock).setBlockName("ore_meteor_lithium").setCreativeTab(MainRegistry.blockTab).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_meteor_lithium");
|
||||
ore_meteor_starmetal = new BlockOre(Material.rock).setBlockName("ore_meteor_starmetal").setCreativeTab(MainRegistry.blockTab).setHardness(10.0F).setResistance(100.0F).setBlockTextureName(RefStrings.MODID + ":ore_meteor_starmetal");
|
||||
|
||||
ore_australium = new BlockGeneric(Material.rock).setBlockName("ore_australium").setCreativeTab(MainRegistry.blockTab).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_australium");
|
||||
ore_weidanium = new BlockGeneric(Material.rock).setBlockName("ore_weidanium").setCreativeTab(MainRegistry.blockTab).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_weidanium");
|
||||
ore_reiium = new BlockGeneric(Material.rock).setBlockName("ore_reiium").setCreativeTab(MainRegistry.blockTab).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_reiium");
|
||||
@ -750,6 +777,7 @@ public class ModBlocks {
|
||||
block_magnetized_tungsten = new BlockGeneric(Material.iron).setBlockName("block_magnetized_tungsten").setCreativeTab(MainRegistry.blockTab).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.blockTab).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":block_combine_steel");
|
||||
block_desh = new BlockGeneric(Material.iron).setBlockName("block_desh").setCreativeTab(MainRegistry.blockTab).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":block_desh");
|
||||
block_starmetal = new BlockGeneric(Material.iron).setBlockName("block_starmetal").setCreativeTab(MainRegistry.blockTab).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":block_starmetal");
|
||||
block_yellowcake = new BlockFallingRad(Material.sand, 0.5F, 3F).setBlockName("block_yellowcake").setCreativeTab(MainRegistry.blockTab).setStepSound(Block.soundTypeSand).setHardness(5.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":block_yellowcake");
|
||||
|
||||
block_australium = new BlockGeneric(Material.iron).setBlockName("block_australium").setCreativeTab(MainRegistry.blockTab).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_australium");
|
||||
@ -1002,6 +1030,8 @@ public class ModBlocks {
|
||||
fwatz_computer = new BlockGeneric(Material.iron).setBlockName("fwatz_computer").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.machineTab).setBlockTextureName(RefStrings.MODID + ":fwatz_computer");
|
||||
fwatz_core = new FWatzCore(Material.iron).setBlockName("fwatz_core").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.machineTab).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.machineTab).setBlockTextureName(RefStrings.MODID + ":fwatz_plasma");
|
||||
|
||||
balefire = new Balefire().setBlockName("balefire").setHardness(0.0F).setLightLevel(1.0F).setCreativeTab(null).setBlockTextureName(RefStrings.MODID + ":balefire");
|
||||
|
||||
ams_base = new BlockAMSBase(Material.iron).setBlockName("ams_base").setHardness(5.0F).setResistance(100.0F).setCreativeTab(MainRegistry.machineTab).setBlockTextureName(RefStrings.MODID + ":ams_base");
|
||||
ams_emitter = new BlockAMSEmitter(Material.iron).setBlockName("ams_emitter").setHardness(5.0F).setResistance(100.0F).setCreativeTab(MainRegistry.machineTab).setBlockTextureName(RefStrings.MODID + ":ams_emitter");
|
||||
@ -1124,6 +1154,8 @@ public class ModBlocks {
|
||||
vent_chlorine = new BlockVent(Material.iron).setBlockName("vent_chlorine").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.machineTab).setBlockTextureName(RefStrings.MODID + ":vent_chlorine");
|
||||
vent_cloud = new BlockVent(Material.iron).setBlockName("vent_cloud").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.machineTab).setBlockTextureName(RefStrings.MODID + ":vent_cloud");
|
||||
vent_pink_cloud = new BlockVent(Material.iron).setBlockName("vent_pink_cloud").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.machineTab).setBlockTextureName(RefStrings.MODID + ":vent_pink_cloud");
|
||||
vent_chlorine_seal = new BlockClorineSeal(Material.iron).setBlockName("vent_chlorine_seal").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.machineTab);
|
||||
chlorine_gas = new BlockClorine(Material.cloth).setBlockName("chlorine_gas").setHardness(0.0F).setResistance(0.0F).setCreativeTab(MainRegistry.machineTab).setBlockTextureName(RefStrings.MODID + ":chlorine_gas");
|
||||
|
||||
absorber = new BlockAbsorber(Material.iron, 2.5F).setBlockName("absorber").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.machineTab).setBlockTextureName(RefStrings.MODID + ":absorber");
|
||||
absorber_red = new BlockAbsorber(Material.iron, 10F).setBlockName("absorber_red").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.machineTab).setBlockTextureName(RefStrings.MODID + ":absorber_red");
|
||||
@ -1246,6 +1278,18 @@ public class ModBlocks {
|
||||
GameRegistry.registerBlock(ore_nether_fire, ore_nether_fire.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(ore_nether_schrabidium, ItemSchrabidiumBlock.class, ore_nether_schrabidium.getUnlocalizedName());
|
||||
|
||||
//Meteor Ores
|
||||
GameRegistry.registerBlock(ore_meteor_uranium, ore_meteor_uranium.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(ore_meteor_thorium, ore_meteor_thorium.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(ore_meteor_titanium, ore_meteor_titanium.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(ore_meteor_sulfur, ore_meteor_sulfur.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(ore_meteor_copper, ore_meteor_copper.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(ore_meteor_tungsten, ore_meteor_tungsten.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(ore_meteor_aluminium, ore_meteor_aluminium.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(ore_meteor_lead, ore_meteor_lead.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(ore_meteor_lithium, ore_meteor_lithium.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(ore_meteor_starmetal, ore_meteor_starmetal.getUnlocalizedName());
|
||||
|
||||
//End Ores
|
||||
GameRegistry.registerBlock(ore_tikite, ore_tikite.getUnlocalizedName());
|
||||
|
||||
@ -1273,6 +1317,7 @@ public class ModBlocks {
|
||||
GameRegistry.registerBlock(block_magnetized_tungsten, block_magnetized_tungsten.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(block_combine_steel, block_combine_steel.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(block_desh, block_desh.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(block_starmetal, block_starmetal.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());
|
||||
@ -1609,6 +1654,9 @@ public class ModBlocks {
|
||||
GameRegistry.registerBlock(fwatz_tank, fwatz_tank.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(fwatz_plasma, fwatz_plasma.getUnlocalizedName());
|
||||
|
||||
//E
|
||||
GameRegistry.registerBlock(balefire, balefire.getUnlocalizedName());
|
||||
|
||||
//AMS
|
||||
GameRegistry.registerBlock(ams_base, ams_base.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(ams_emitter, ams_emitter.getUnlocalizedName());
|
||||
@ -1710,6 +1758,8 @@ public class ModBlocks {
|
||||
GameRegistry.registerBlock(vent_chlorine, vent_chlorine.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(vent_cloud, vent_cloud.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(vent_pink_cloud, vent_pink_cloud.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(vent_chlorine_seal, vent_chlorine_seal.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(chlorine_gas, chlorine_gas.getUnlocalizedName());
|
||||
|
||||
//???
|
||||
GameRegistry.registerBlock(crystal_virus, crystal_virus.getUnlocalizedName());
|
||||
|
||||
225
com/hbm/blocks/bomb/Balefire.java
Normal file
@ -0,0 +1,225 @@
|
||||
package com.hbm.blocks.bomb;
|
||||
|
||||
import static net.minecraftforge.common.util.ForgeDirection.DOWN;
|
||||
import static net.minecraftforge.common.util.ForgeDirection.EAST;
|
||||
import static net.minecraftforge.common.util.ForgeDirection.NORTH;
|
||||
import static net.minecraftforge.common.util.ForgeDirection.SOUTH;
|
||||
import static net.minecraftforge.common.util.ForgeDirection.UP;
|
||||
import static net.minecraftforge.common.util.ForgeDirection.WEST;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import com.hbm.potion.HbmPotion;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockFire;
|
||||
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.init.Blocks;
|
||||
import net.minecraft.potion.PotionEffect;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
|
||||
public class Balefire extends BlockFire {
|
||||
|
||||
private IIcon field_149850_M;
|
||||
|
||||
public Balefire()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerBlockIcons(IIconRegister p_149651_1_) {
|
||||
|
||||
field_149850_M = p_149651_1_.registerIcon(this.getTextureName());
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public IIcon getFireIcon(int p_149840_1_)
|
||||
{
|
||||
return field_149850_M;
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public IIcon getIcon(int p_149691_1_, int p_149691_2_)
|
||||
{
|
||||
return field_149850_M;
|
||||
}
|
||||
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_.getGameRules().getGameRuleBooleanValue("doFireTick"))
|
||||
{
|
||||
boolean flag = p_149674_1_.getBlock(p_149674_2_, p_149674_3_ - 1, p_149674_4_).isFireSource(p_149674_1_, p_149674_2_, p_149674_3_ - 1, p_149674_4_, UP);
|
||||
|
||||
if (!this.canPlaceBlockAt(p_149674_1_, p_149674_2_, p_149674_3_, p_149674_4_))
|
||||
{
|
||||
p_149674_1_.setBlockToAir(p_149674_2_, p_149674_3_, p_149674_4_);
|
||||
}
|
||||
|
||||
/*if (!flag && p_149674_1_.isRaining() && (p_149674_1_.canLightningStrikeAt(p_149674_2_, p_149674_3_, p_149674_4_) || p_149674_1_.canLightningStrikeAt(p_149674_2_ - 1, p_149674_3_, p_149674_4_) || p_149674_1_.canLightningStrikeAt(p_149674_2_ + 1, p_149674_3_, p_149674_4_) || p_149674_1_.canLightningStrikeAt(p_149674_2_, p_149674_3_, p_149674_4_ - 1) || p_149674_1_.canLightningStrikeAt(p_149674_2_, p_149674_3_, p_149674_4_ + 1)))
|
||||
{
|
||||
p_149674_1_.setBlockToAir(p_149674_2_, p_149674_3_, p_149674_4_);
|
||||
}
|
||||
else*/
|
||||
{
|
||||
int l = 0;
|
||||
/*int l = p_149674_1_.getBlockMetadata(p_149674_2_, p_149674_3_, p_149674_4_);
|
||||
|
||||
if (l < 15)
|
||||
{
|
||||
p_149674_1_.setBlockMetadataWithNotify(p_149674_2_, p_149674_3_, p_149674_4_, l + p_149674_5_.nextInt(3) / 2, 4);
|
||||
}*/
|
||||
|
||||
p_149674_1_.scheduleBlockUpdate(p_149674_2_, p_149674_3_, p_149674_4_, this, this.tickRate(p_149674_1_) + p_149674_5_.nextInt(10));
|
||||
|
||||
if (!flag && !this.canNeighborBurn(p_149674_1_, p_149674_2_, p_149674_3_, p_149674_4_))
|
||||
{
|
||||
if (!World.doesBlockHaveSolidTopSurface(p_149674_1_, p_149674_2_, p_149674_3_ - 1, p_149674_4_)/* || l > 3*/)
|
||||
{
|
||||
p_149674_1_.setBlockToAir(p_149674_2_, p_149674_3_, p_149674_4_);
|
||||
}
|
||||
}
|
||||
/*else if (!flag && !this.canCatchFire(p_149674_1_, p_149674_2_, p_149674_3_ - 1, p_149674_4_, UP) && l == 15 && p_149674_5_.nextInt(4) == 0)
|
||||
{
|
||||
//p_149674_1_.setBlockToAir(p_149674_2_, p_149674_3_, p_149674_4_);
|
||||
}*/
|
||||
else
|
||||
{
|
||||
//boolean flag1 = p_149674_1_.isBlockHighHumidity(p_149674_2_, p_149674_3_, p_149674_4_);
|
||||
byte b0 = 0;
|
||||
|
||||
/*if (flag1)
|
||||
{
|
||||
b0 = -50;
|
||||
}*/
|
||||
|
||||
this.tryCatchFire(p_149674_1_, p_149674_2_ + 1, p_149674_3_, p_149674_4_, 300 + b0, p_149674_5_, l, WEST );
|
||||
this.tryCatchFire(p_149674_1_, p_149674_2_ - 1, p_149674_3_, p_149674_4_, 300 + b0, p_149674_5_, l, EAST );
|
||||
this.tryCatchFire(p_149674_1_, p_149674_2_, p_149674_3_ - 1, p_149674_4_, 250 + b0, p_149674_5_, l, UP );
|
||||
this.tryCatchFire(p_149674_1_, p_149674_2_, p_149674_3_ + 1, p_149674_4_, 250 + b0, p_149674_5_, l, DOWN );
|
||||
this.tryCatchFire(p_149674_1_, p_149674_2_, p_149674_3_, p_149674_4_ - 1, 300 + b0, p_149674_5_, l, SOUTH);
|
||||
this.tryCatchFire(p_149674_1_, p_149674_2_, p_149674_3_, p_149674_4_ + 1, 300 + b0, p_149674_5_, l, NORTH);
|
||||
|
||||
for (int i1 = p_149674_2_ - 1; i1 <= p_149674_2_ + 1; ++i1)
|
||||
{
|
||||
for (int j1 = p_149674_4_ - 1; j1 <= p_149674_4_ + 1; ++j1)
|
||||
{
|
||||
for (int k1 = p_149674_3_ - 1; k1 <= p_149674_3_ + 4; ++k1)
|
||||
{
|
||||
if (i1 != p_149674_2_ || k1 != p_149674_3_ || j1 != p_149674_4_)
|
||||
{
|
||||
int l1 = 100;
|
||||
|
||||
if (k1 > p_149674_3_ + 1)
|
||||
{
|
||||
l1 += (k1 - (p_149674_3_ + 1)) * 100;
|
||||
}
|
||||
|
||||
int i2 = this.getChanceOfNeighborsEncouragingFire(p_149674_1_, i1, k1, j1);
|
||||
|
||||
if (i2 > 0)
|
||||
{
|
||||
int j2 = (i2 + 40 + p_149674_1_.difficultySetting.getDifficultyId() * 7) / (l + 30);
|
||||
|
||||
/*if (flag1)
|
||||
{
|
||||
j2 /= 2;
|
||||
}*/
|
||||
|
||||
if (j2 > 0 && p_149674_5_.nextInt(l1) <= j2)
|
||||
{
|
||||
int k2 = l + p_149674_5_.nextInt(5) / 4;
|
||||
|
||||
if (k2 > 15)
|
||||
{
|
||||
k2 = 15;
|
||||
}
|
||||
|
||||
p_149674_1_.setBlock(i1, k1, j1, this, k2, 3);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void tryCatchFire(World p_149841_1_, int p_149841_2_, int p_149841_3_, int p_149841_4_, int p_149841_5_, Random p_149841_6_, int p_149841_7_, ForgeDirection face)
|
||||
{
|
||||
int j1 = p_149841_1_.getBlock(p_149841_2_, p_149841_3_, p_149841_4_).getFlammability(p_149841_1_, p_149841_2_, p_149841_3_, p_149841_4_, face);
|
||||
|
||||
if (p_149841_6_.nextInt(p_149841_5_) < j1)
|
||||
{
|
||||
boolean flag = p_149841_1_.getBlock(p_149841_2_, p_149841_3_, p_149841_4_) == Blocks.tnt;
|
||||
|
||||
p_149841_1_.setBlock(p_149841_2_, p_149841_3_, p_149841_4_, this, 15, 3);
|
||||
|
||||
if (flag)
|
||||
{
|
||||
Blocks.tnt.onBlockDestroyedByPlayer(p_149841_1_, p_149841_2_, p_149841_3_, p_149841_4_, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private boolean canNeighborBurn(World p_149847_1_, int p_149847_2_, int p_149847_3_, int p_149847_4_)
|
||||
{
|
||||
return this.canCatchFire(p_149847_1_, p_149847_2_ + 1, p_149847_3_, p_149847_4_, WEST ) ||
|
||||
this.canCatchFire(p_149847_1_, p_149847_2_ - 1, p_149847_3_, p_149847_4_, EAST ) ||
|
||||
this.canCatchFire(p_149847_1_, p_149847_2_, p_149847_3_ - 1, p_149847_4_, UP ) ||
|
||||
this.canCatchFire(p_149847_1_, p_149847_2_, p_149847_3_ + 1, p_149847_4_, DOWN ) ||
|
||||
this.canCatchFire(p_149847_1_, p_149847_2_, p_149847_3_, p_149847_4_ - 1, SOUTH) ||
|
||||
this.canCatchFire(p_149847_1_, p_149847_2_, p_149847_3_, p_149847_4_ + 1, NORTH);
|
||||
}
|
||||
|
||||
private int getChanceOfNeighborsEncouragingFire(World p_149845_1_, int p_149845_2_, int p_149845_3_, int p_149845_4_)
|
||||
{
|
||||
byte b0 = 0;
|
||||
|
||||
if (!p_149845_1_.isAirBlock(p_149845_2_, p_149845_3_, p_149845_4_))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
int l = b0;
|
||||
l = this.getChanceToEncourageFire(p_149845_1_, p_149845_2_ + 1, p_149845_3_, p_149845_4_, l, WEST );
|
||||
l = this.getChanceToEncourageFire(p_149845_1_, p_149845_2_ - 1, p_149845_3_, p_149845_4_, l, EAST );
|
||||
l = this.getChanceToEncourageFire(p_149845_1_, p_149845_2_, p_149845_3_ - 1, p_149845_4_, l, UP );
|
||||
l = this.getChanceToEncourageFire(p_149845_1_, p_149845_2_, p_149845_3_ + 1, p_149845_4_, l, DOWN );
|
||||
l = this.getChanceToEncourageFire(p_149845_1_, p_149845_2_, p_149845_3_, p_149845_4_ - 1, l, SOUTH);
|
||||
l = this.getChanceToEncourageFire(p_149845_1_, p_149845_2_, p_149845_3_, p_149845_4_ + 1, l, NORTH);
|
||||
return l;
|
||||
}
|
||||
}
|
||||
|
||||
private boolean isFlammable(World p_149817_1_, int p_149817_2_, int p_149817_3_, int p_149817_4_)
|
||||
{
|
||||
return p_149817_1_.getBlock(p_149817_2_, p_149817_3_, p_149817_4_).getMaterial().getCanBurn();
|
||||
}
|
||||
|
||||
public boolean canCatchFire(IBlockAccess world, int x, int y, int z, ForgeDirection face)
|
||||
{
|
||||
return world.getBlock(x, y, z).isFlammable(world, x, y, z, face);
|
||||
}
|
||||
|
||||
@Override
|
||||
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);
|
||||
|
||||
if(p_149670_5_ instanceof EntityLivingBase)
|
||||
((EntityLivingBase)p_149670_5_).addPotionEffect(new PotionEffect(HbmPotion.radiation.id, 5 * 20, 9));
|
||||
}
|
||||
|
||||
}
|
||||
@ -3,6 +3,7 @@ package com.hbm.blocks.bomb;
|
||||
import java.util.Random;
|
||||
|
||||
import com.hbm.blocks.ModBlocks;
|
||||
import com.hbm.entity.logic.EntityBalefire;
|
||||
import com.hbm.entity.logic.EntityNukeExplosionAdvanced;
|
||||
import com.hbm.entity.logic.EntityNukeExplosionMK3;
|
||||
import com.hbm.entity.logic.EntityNukeExplosionMK4;
|
||||
@ -79,7 +80,12 @@ public class BlockCrashedBomb extends BlockContainer implements IBomb {
|
||||
if (!world.isRemote) {
|
||||
|
||||
world.setBlockToAir(x, y, z);
|
||||
world.spawnEntityInWorld(EntityNukeExplosionMK4.statFac(world, (int)(MainRegistry.fatmanRadius * 1.25), x + 0.5, y + 0.5, z + 0.5));
|
||||
EntityBalefire bf = new EntityBalefire(world);
|
||||
bf.posX = x;
|
||||
bf.posY = y;
|
||||
bf.posZ = z;
|
||||
bf.destructionRange = (int) (MainRegistry.fatmanRadius * 1.25);
|
||||
world.spawnEntityInWorld(bf);
|
||||
ExplosionParticleB.spawnMush(world, x, y, z);
|
||||
}
|
||||
}
|
||||
|
||||
@ -6,13 +6,19 @@ import com.hbm.interfaces.IMultiblock;
|
||||
import com.hbm.main.MainRegistry;
|
||||
import com.hbm.tileentity.bomb.TileEntityCompactLauncher;
|
||||
import com.hbm.tileentity.bomb.TileEntityLaunchTable;
|
||||
import com.hbm.tileentity.machine.TileEntityDummy;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineMissileAssembly;
|
||||
|
||||
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.player.EntityPlayer;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.MathHelper;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class LaunchTable extends BlockContainer implements IMultiblock, IBomb {
|
||||
@ -59,6 +65,92 @@ public class LaunchTable extends BlockContainer implements IMultiblock, IBomb {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onBlockPlacedBy(World worldObj, int xCoord, int yCoord, int zCoord, EntityLivingBase player, ItemStack itemStack) {
|
||||
int d = MathHelper.floor_double(player.rotationYaw * 4.0F / 360.0F + 0.5D) & 3;
|
||||
|
||||
for(int k = -4; k <= 4; k++)
|
||||
for(int l = -4; l <= 4; l++)
|
||||
if(l != 0 && k != 0)
|
||||
if(!worldObj.getBlock(xCoord + k, yCoord, zCoord + l).isReplaceable(worldObj, xCoord + k, yCoord, zCoord + l)) {
|
||||
worldObj.func_147480_a(xCoord, yCoord, zCoord, true);
|
||||
return;
|
||||
}
|
||||
|
||||
if (d == 0) {
|
||||
|
||||
worldObj.setBlockMetadataWithNotify(xCoord, yCoord, zCoord, 0, 2);
|
||||
for(int i = 1; i < 12; i++)
|
||||
worldObj.setBlock(xCoord + 3, yCoord + i, zCoord, Blocks.air);
|
||||
|
||||
for(int i = -4; i <= 4; i++)
|
||||
if(i != 0)
|
||||
placeDummy(worldObj, xCoord + i, yCoord, zCoord, xCoord, yCoord, zCoord, ModBlocks.dummy_port_launch_table);
|
||||
|
||||
for(int i = -4; i <= 4; i++)
|
||||
if(i != 0)
|
||||
placeDummy(worldObj, xCoord, yCoord, zCoord + i, xCoord, yCoord, zCoord, ModBlocks.dummy_plate_launch_table);
|
||||
}
|
||||
if (d == 1) {
|
||||
worldObj.setBlockMetadataWithNotify(xCoord, yCoord, zCoord, 2, 2);
|
||||
for(int i = 1; i < 12; i++)
|
||||
worldObj.setBlock(xCoord, yCoord + i, zCoord + 3, Blocks.air);
|
||||
|
||||
for(int i = -4; i <= 4; i++)
|
||||
if(i != 0)
|
||||
placeDummy(worldObj, xCoord + i, yCoord, zCoord, xCoord, yCoord, zCoord, ModBlocks.dummy_plate_launch_table);
|
||||
|
||||
for(int i = -4; i <= 4; i++)
|
||||
if(i != 0)
|
||||
placeDummy(worldObj, xCoord, yCoord, zCoord + i, xCoord, yCoord, zCoord, ModBlocks.dummy_port_launch_table);
|
||||
}
|
||||
if (d == 2) {
|
||||
worldObj.setBlockMetadataWithNotify(xCoord, yCoord, zCoord, 1, 2);
|
||||
for(int i = 1; i < 12; i++)
|
||||
worldObj.setBlock(xCoord - 3, yCoord + i, zCoord, Blocks.air);
|
||||
|
||||
for(int i = -4; i <= 4; i++)
|
||||
if(i != 0)
|
||||
placeDummy(worldObj, xCoord + i, yCoord, zCoord, xCoord, yCoord, zCoord, ModBlocks.dummy_port_launch_table);
|
||||
|
||||
for(int i = -4; i <= 4; i++)
|
||||
if(i != 0)
|
||||
placeDummy(worldObj, xCoord, yCoord, zCoord + i, xCoord, yCoord, zCoord, ModBlocks.dummy_plate_launch_table);
|
||||
}
|
||||
if (d == 3) {
|
||||
worldObj.setBlockMetadataWithNotify(xCoord, yCoord, zCoord, 3, 2);
|
||||
for(int i = 1; i < 12; i++)
|
||||
worldObj.setBlock(xCoord, yCoord + i, zCoord - 3, Blocks.air);
|
||||
|
||||
for(int i = -4; i <= 4; i++)
|
||||
if(i != 0)
|
||||
placeDummy(worldObj, xCoord + i, yCoord, zCoord, xCoord, yCoord, zCoord, ModBlocks.dummy_plate_launch_table);
|
||||
|
||||
for(int i = -4; i <= 4; i++)
|
||||
if(i != 0)
|
||||
placeDummy(worldObj, xCoord, yCoord, zCoord + i, xCoord, yCoord, zCoord, ModBlocks.dummy_port_launch_table);
|
||||
}
|
||||
|
||||
for(int i = -4; i <= 4; i++)
|
||||
for(int j = -4; j <= 4; j++)
|
||||
if(i != 0 && j != 0)
|
||||
placeDummy(worldObj, xCoord + i, yCoord, zCoord + j, xCoord, yCoord, zCoord, ModBlocks.dummy_port_launch_table);
|
||||
}
|
||||
|
||||
private void placeDummy(World world, int x, int y, int z, int xCoord, int yCoord, int zCoord, Block block) {
|
||||
|
||||
world.setBlock(x, y, z, block);
|
||||
|
||||
TileEntity te = world.getTileEntity(x, y, z);
|
||||
|
||||
if(te instanceof TileEntityDummy) {
|
||||
TileEntityDummy dummy = (TileEntityDummy)te;
|
||||
dummy.targetX = xCoord;
|
||||
dummy.targetY = yCoord;
|
||||
dummy.targetZ = zCoord;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void explode(World world, int x, int y, int z) {
|
||||
TileEntityLaunchTable entity = (TileEntityLaunchTable) world.getTileEntity(x, y, z);
|
||||
|
||||
120
com/hbm/blocks/generic/BlockClorine.java
Normal file
@ -0,0 +1,120 @@
|
||||
package com.hbm.blocks.generic;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import com.hbm.blocks.ModBlocks;
|
||||
import com.hbm.lib.Library;
|
||||
|
||||
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.player.EntityPlayer;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.potion.Potion;
|
||||
import net.minecraft.potion.PotionEffect;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraft.util.Facing;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class BlockClorine extends Block {
|
||||
|
||||
public BlockClorine(Material p_i45394_1_) {
|
||||
super(p_i45394_1_);
|
||||
this.setTickRandomly(true);
|
||||
}
|
||||
|
||||
@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_) {
|
||||
|
||||
return super.shouldSideBeRendered(p_149646_1_, p_149646_2_, p_149646_3_, p_149646_4_, p_149646_5_);
|
||||
|
||||
/*Block block = p_149646_1_.getBlock(p_149646_2_, p_149646_3_, p_149646_4_);
|
||||
|
||||
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 block == this ? false : super.shouldSideBeRendered(p_149646_1_, p_149646_2_, p_149646_3_, p_149646_4_, p_149646_5_);*/
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateTick(World world, int x, int y, int z, Random rand)
|
||||
{
|
||||
world.setBlock(x, y, z, Blocks.air);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AxisAlignedBB getCollisionBoundingBoxFromPool(World p_149668_1_, int p_149668_2_, int p_149668_3_, int p_149668_4_)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onEntityCollidedWithBlock(World world, int p_149670_2_, int p_149670_3_, int p_149670_4_, Entity entity)
|
||||
{
|
||||
if (entity instanceof EntityPlayer && Library.checkForGasMask((EntityPlayer) entity)) {
|
||||
|
||||
if(world.rand.nextInt(25) == 0)
|
||||
Library.damageSuit((EntityPlayer)entity, 3, world.rand.nextInt(2));
|
||||
|
||||
} else if (entity instanceof EntityLivingBase) {
|
||||
((EntityLivingBase) entity)
|
||||
.addPotionEffect(new PotionEffect(Potion.blindness.getId(), 5 * 20, 0));
|
||||
((EntityLivingBase) entity)
|
||||
.addPotionEffect(new PotionEffect(Potion.poison.getId(), 20 * 20, 2));
|
||||
((EntityLivingBase) entity)
|
||||
.addPotionEffect(new PotionEffect(Potion.wither.getId(), 1 * 20, 1));
|
||||
((EntityLivingBase) entity)
|
||||
.addPotionEffect(new PotionEffect(Potion.moveSlowdown.getId(), 30 * 20, 1));
|
||||
((EntityLivingBase) entity)
|
||||
.addPotionEffect(new PotionEffect(Potion.digSlowdown.getId(), 30 * 20, 2));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean renderAsNormalBlock()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public int getRenderBlockPass()
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
public boolean canCollideCheck(int p_149678_1_, boolean p_149678_2_)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean isReplaceable(IBlockAccess world, int x, int y, int z)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
45
com/hbm/blocks/generic/BlockClorineSeal.java
Normal file
@ -0,0 +1,45 @@
|
||||
package com.hbm.blocks.generic;
|
||||
|
||||
import com.hbm.lib.RefStrings;
|
||||
import com.hbm.tileentity.machine.TileEntityChlorineSeal;
|
||||
|
||||
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.init.Blocks;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class BlockClorineSeal extends BlockContainer {
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
private IIcon iconTop;
|
||||
|
||||
public BlockClorineSeal(Material p_i45386_1_) {
|
||||
super(p_i45386_1_);
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerBlockIcons(IIconRegister iconRegister) {
|
||||
|
||||
this.iconTop = iconRegister.registerIcon(RefStrings.MODID + ":vent_chlorine_seal_top");
|
||||
this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":vent_chlorine_seal_side");
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public IIcon getIcon(int side, int metadata) {
|
||||
|
||||
return side == 1 ? this.iconTop : this.blockIcon;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) {
|
||||
return new TileEntityChlorineSeal();
|
||||
}
|
||||
|
||||
}
|
||||
@ -62,7 +62,7 @@ public class BlockOre extends Block {
|
||||
{
|
||||
return ModItems.niter;
|
||||
}
|
||||
if(this == ModBlocks.ore_sulfur || this == ModBlocks.ore_nether_sulfur)
|
||||
if(this == ModBlocks.ore_sulfur || this == ModBlocks.ore_nether_sulfur || this == ModBlocks.ore_meteor_sulfur)
|
||||
{
|
||||
return ModItems.sulfur;
|
||||
}
|
||||
@ -197,7 +197,7 @@ public class BlockOre extends Block {
|
||||
{
|
||||
return 2 + p_149745_1_.nextInt(3);
|
||||
}
|
||||
if(this == ModBlocks.ore_sulfur || this == ModBlocks.ore_nether_sulfur)
|
||||
if(this == ModBlocks.ore_sulfur || this == ModBlocks.ore_nether_sulfur || this == ModBlocks.ore_meteor_sulfur)
|
||||
{
|
||||
return 2 + p_149745_1_.nextInt(3);
|
||||
}
|
||||
|
||||
@ -39,7 +39,7 @@ public class DecoBlock extends BlockContainer {
|
||||
if(this == ModBlocks.bomber)
|
||||
return new TileEntityBomber();
|
||||
|
||||
if(this == ModBlocks.steel_scaffold)
|
||||
if(this == ModBlocks.steel_scaffold || this == ModBlocks.steel_beam)
|
||||
return null;
|
||||
|
||||
return new TileEntityDecoBlock();
|
||||
@ -49,6 +49,8 @@ public class DecoBlock extends BlockContainer {
|
||||
public int getRenderType(){
|
||||
if(this == ModBlocks.steel_scaffold)
|
||||
return 334078;
|
||||
else if(this == ModBlocks.steel_beam)
|
||||
return 334080;
|
||||
else
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -91,5 +91,12 @@ public class MissileTab extends CreativeTabs {
|
||||
ModItems.mp_fuselage_15_kerosene_blackjack,
|
||||
ModItems.mp_stability_15_thin,
|
||||
ModItems.mp_thruster_15_kerosene).setStackDisplayName(EnumChatFormatting.RED + "Auntie Blackjack"));
|
||||
|
||||
list.add(ItemCustomMissile.buildMissile(
|
||||
ModItems.mp_chip_4,
|
||||
ModItems.mp_warhead_15_balefire,
|
||||
ModItems.mp_fuselage_15_20_kerosene_magnusson,
|
||||
null,
|
||||
ModItems.mp_thruster_20_kerosene).setStackDisplayName(EnumChatFormatting.GREEN + "Hightower Missile"));
|
||||
}
|
||||
}
|
||||
|
||||
@ -62,6 +62,7 @@ public class EntityNukeCloudSmall extends Entity {
|
||||
this.dataWatcher.addObject(16, (short)maxAge);
|
||||
this.dataWatcher.addObject(17, (short)age);
|
||||
this.dataWatcher.addObject(18, 1.0F);
|
||||
this.dataWatcher.addObject(19, Byte.valueOf((byte)0));
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -85,6 +86,18 @@ public class EntityNukeCloudSmall extends Entity {
|
||||
cloud.posX = x;
|
||||
cloud.posY = y;
|
||||
cloud.posZ = z;
|
||||
cloud.dataWatcher.updateObject(19, (byte)0);
|
||||
|
||||
return cloud;
|
||||
}
|
||||
|
||||
public static EntityNukeCloudSmall statFacBale(World world, double x, double y, double z, float radius, int maxAge) {
|
||||
|
||||
EntityNukeCloudSmall cloud = new EntityNukeCloudSmall(world, (int)radius * 5, radius * 0.005F);
|
||||
cloud.posX = x;
|
||||
cloud.posY = y;
|
||||
cloud.posZ = z;
|
||||
cloud.dataWatcher.updateObject(19, (byte)1);
|
||||
|
||||
return cloud;
|
||||
}
|
||||
|
||||
101
com/hbm/entity/logic/EntityBalefire.java
Normal file
@ -0,0 +1,101 @@
|
||||
package com.hbm.entity.logic;
|
||||
|
||||
import org.apache.logging.log4j.Level;
|
||||
|
||||
import com.hbm.entity.effect.EntityFalloutRain;
|
||||
import com.hbm.explosion.ExplosionBalefire;
|
||||
import com.hbm.explosion.ExplosionFleija;
|
||||
import com.hbm.explosion.ExplosionNukeAdvanced;
|
||||
import com.hbm.explosion.ExplosionNukeGeneric;
|
||||
import com.hbm.explosion.ExplosionSolinium;
|
||||
import com.hbm.main.MainRegistry;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class EntityBalefire extends Entity {
|
||||
|
||||
public int age = 0;
|
||||
public int destructionRange = 0;
|
||||
public ExplosionBalefire exp;
|
||||
public int speed = 1;
|
||||
public boolean did = false;
|
||||
|
||||
@Override
|
||||
protected void readEntityFromNBT(NBTTagCompound nbt) {
|
||||
age = nbt.getInteger("age");
|
||||
destructionRange = nbt.getInteger("destructionRange");
|
||||
speed = nbt.getInteger("speed");
|
||||
did = nbt.getBoolean("did");
|
||||
|
||||
|
||||
exp = new ExplosionBalefire((int)this.posX, (int)this.posY, (int)this.posZ, this.worldObj, this.destructionRange);
|
||||
exp.readFromNbt(nbt, "exp_");
|
||||
|
||||
this.did = true;
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void writeEntityToNBT(NBTTagCompound nbt) {
|
||||
nbt.setInteger("age", age);
|
||||
nbt.setInteger("destructionRange", destructionRange);
|
||||
nbt.setInteger("speed", speed);
|
||||
nbt.setBoolean("did", did);
|
||||
|
||||
nbt.setLong("milliTime", System.currentTimeMillis());
|
||||
|
||||
if(exp != null)
|
||||
exp.saveToNbt(nbt, "exp_");
|
||||
|
||||
}
|
||||
|
||||
public EntityBalefire(World p_i1582_1_) {
|
||||
super(p_i1582_1_);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onUpdate() {
|
||||
super.onUpdate();
|
||||
|
||||
if(!this.did)
|
||||
{
|
||||
if(MainRegistry.enableExtendedLogging && !worldObj.isRemote)
|
||||
MainRegistry.logger.log(Level.INFO, "[NUKE] Initialized BF explosion at " + posX + " / " + posY + " / " + posZ + " with strength " + destructionRange + "!");
|
||||
|
||||
exp = new ExplosionBalefire((int)this.posX, (int)this.posY, (int)this.posZ, this.worldObj, this.destructionRange);
|
||||
|
||||
this.did = true;
|
||||
}
|
||||
|
||||
speed += 1; //increase speed to keep up with expansion
|
||||
|
||||
boolean flag = false;
|
||||
boolean flag2 = false;
|
||||
boolean flag3 = false;
|
||||
|
||||
for(int i = 0; i < this.speed; i++)
|
||||
{
|
||||
flag = exp.update();
|
||||
|
||||
if(flag) {
|
||||
this.setDead();
|
||||
}
|
||||
}
|
||||
|
||||
if(rand.nextInt(5) == 0)
|
||||
this.worldObj.playSoundEffect(this.posX, this.posY, this.posZ, "random.explode", 10000.0F, 0.8F + this.rand.nextFloat() * 0.2F);
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
age++;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void entityInit() { }
|
||||
}
|
||||
@ -6,9 +6,11 @@ import java.util.List;
|
||||
import com.hbm.blocks.ModBlocks;
|
||||
import com.hbm.blocks.bomb.BlockTaint;
|
||||
import com.hbm.entity.effect.EntityNukeCloudSmall;
|
||||
import com.hbm.entity.logic.EntityBalefire;
|
||||
import com.hbm.entity.logic.EntityNukeExplosionMK4;
|
||||
import com.hbm.entity.logic.IChunkLoader;
|
||||
import com.hbm.entity.particle.EntitySmokeFX;
|
||||
import com.hbm.explosion.ExplosionChaos;
|
||||
import com.hbm.explosion.ExplosionLarge;
|
||||
import com.hbm.handler.MissileStruct;
|
||||
import com.hbm.items.weapon.ItemMissile;
|
||||
@ -291,6 +293,7 @@ public class EntityMissileCustom extends Entity implements IChunkLoader {
|
||||
|
||||
switch(type) {
|
||||
case BALEFIRE:
|
||||
smoke = "exBalefire";
|
||||
break;
|
||||
case HYDROGEN:
|
||||
smoke = "exHydrogen";
|
||||
@ -350,6 +353,13 @@ public class EntityMissileCustom extends Entity implements IChunkLoader {
|
||||
worldObj.spawnEntityInWorld(nuke);
|
||||
break;
|
||||
case BALEFIRE:
|
||||
EntityBalefire bf = new EntityBalefire(worldObj);
|
||||
bf.posX = this.posX;
|
||||
bf.posY = this.posY;
|
||||
bf.posZ = this.posZ;
|
||||
bf.destructionRange = (int) strength;
|
||||
worldObj.spawnEntityInWorld(bf);
|
||||
worldObj.spawnEntityInWorld(EntityNukeCloudSmall.statFacBale(worldObj, posX, posY + 5, posZ, strength * 1.5F, 1000));
|
||||
break;
|
||||
case N2:
|
||||
worldObj.spawnEntityInWorld(EntityNukeExplosionMK4.statFacNoRad(worldObj, (int) strength, posX, posY, posZ));
|
||||
@ -371,6 +381,8 @@ public class EntityMissileCustom extends Entity implements IChunkLoader {
|
||||
}
|
||||
break;
|
||||
case CLOUD:
|
||||
this.worldObj.playAuxSFX(2002, (int)Math.round(this.posX), (int)Math.round(this.posY), (int)Math.round(this.posZ), 0);
|
||||
ExplosionChaos.spawnChlorine(worldObj, posX - motionX, posY - motionY, posZ - motionZ, 750, 2.5, 2);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
@ -2,6 +2,7 @@ package com.hbm.entity.projectile;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.hbm.entity.logic.EntityBalefire;
|
||||
import com.hbm.entity.logic.EntityNukeExplosionMK4;
|
||||
import com.hbm.entity.particle.EntitySSmokeFX;
|
||||
import com.hbm.explosion.ExplosionParticleB;
|
||||
@ -243,7 +244,12 @@ public class EntityBaleflare extends Entity implements IProjectile {
|
||||
{
|
||||
if (!this.worldObj.isRemote)
|
||||
{
|
||||
worldObj.spawnEntityInWorld(EntityNukeExplosionMK4.statFac(worldObj, MainRegistry.fatmanRadius, posX, posY, posZ));
|
||||
EntityBalefire bf = new EntityBalefire(worldObj);
|
||||
bf.posX = this.posX;
|
||||
bf.posY = this.posY;
|
||||
bf.posZ = this.posZ;
|
||||
bf.destructionRange = MainRegistry.fatmanRadius;
|
||||
worldObj.spawnEntityInWorld(bf);
|
||||
|
||||
ExplosionParticleB.spawnMush(this.worldObj, (int)this.posX, (int)this.posY - 3, (int)this.posZ);
|
||||
}
|
||||
|
||||
@ -386,7 +386,7 @@ public class EntityBulletBase extends Entity implements IProjectile {
|
||||
ExplosionLarge.jolt(worldObj, posX, posY, posZ, config.jolt, 150, 0.25);
|
||||
|
||||
if(config.explosive > 0 && !worldObj.isRemote)
|
||||
worldObj.newExplosion(this, posX, posY, posZ, config.explosive, config.incendiary > 0, true);
|
||||
worldObj.newExplosion(this, posX, posY, posZ, config.explosive, config.incendiary > 0, config.blockDamage);
|
||||
|
||||
if(config.shrapnel > 0 && !worldObj.isRemote)
|
||||
ExplosionLarge.spawnShrapnels(worldObj, posX, posY, posZ, config.shrapnel);
|
||||
|
||||
127
com/hbm/explosion/ExplosionBalefire.java
Normal file
@ -0,0 +1,127 @@
|
||||
package com.hbm.explosion;
|
||||
|
||||
import com.hbm.blocks.ModBlocks;
|
||||
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class ExplosionBalefire
|
||||
{
|
||||
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 void saveToNbt(NBTTagCompound nbt, String name) {
|
||||
nbt.setInteger(name + "posX", posX);
|
||||
nbt.setInteger(name + "posY", posY);
|
||||
nbt.setInteger(name + "posZ", posZ);
|
||||
nbt.setInteger(name + "lastposX", lastposX);
|
||||
nbt.setInteger(name + "lastposZ", lastposZ);
|
||||
nbt.setInteger(name + "radius", radius);
|
||||
nbt.setInteger(name + "radius2", radius2);
|
||||
nbt.setInteger(name + "n", n);
|
||||
nbt.setInteger(name + "nlimit", nlimit);
|
||||
nbt.setInteger(name + "shell", shell);
|
||||
nbt.setInteger(name + "leg", leg);
|
||||
nbt.setInteger(name + "element", element);
|
||||
}
|
||||
|
||||
public void readFromNbt(NBTTagCompound nbt, String name) {
|
||||
posX = nbt.getInteger(name + "posX");
|
||||
posY = nbt.getInteger(name + "posY");
|
||||
posZ = nbt.getInteger(name + "posZ");
|
||||
lastposX = nbt.getInteger(name + "lastposX");
|
||||
lastposZ = nbt.getInteger(name + "lastposZ");
|
||||
radius = nbt.getInteger(name + "radius");
|
||||
radius2 = nbt.getInteger(name + "radius2");
|
||||
n = nbt.getInteger(name + "n");
|
||||
nlimit = nbt.getInteger(name + "nlimit");
|
||||
shell = nbt.getInteger(name + "shell");
|
||||
leg = nbt.getInteger(name + "leg");
|
||||
element = nbt.getInteger(name + "element");
|
||||
}
|
||||
|
||||
public ExplosionBalefire(int x, int y, int z, World world, int rad)
|
||||
{
|
||||
this.posX = x;
|
||||
this.posY = y;
|
||||
this.posZ = z;
|
||||
|
||||
this.worldObj = world;
|
||||
|
||||
this.radius = rad;
|
||||
this.radius2 = this.radius * this.radius;
|
||||
|
||||
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)
|
||||
{
|
||||
int pX = posX + x;
|
||||
int pZ = posZ + z;
|
||||
|
||||
int y = worldObj.getHeightValue(pX, pZ);
|
||||
float strength = (float)dist / (float) this.radius;
|
||||
|
||||
while(y > 0) {
|
||||
|
||||
if(strength <= 10) {
|
||||
if(worldObj.rand.nextInt(10) == 0)
|
||||
worldObj.setBlock(pX, y + 1, pZ, ModBlocks.balefire);
|
||||
|
||||
if(worldObj.getBlock(pX, y, pZ) == Blocks.stone)
|
||||
worldObj.setBlock(pX, y, pZ, ModBlocks.sellafield_slaked);
|
||||
if(worldObj.getBlock(pX, y - 1, pZ) == Blocks.stone)
|
||||
worldObj.setBlock(pX, y - 1, pZ, ModBlocks.sellafield_slaked);
|
||||
if(worldObj.getBlock(pX, y - 2, pZ) == Blocks.stone)
|
||||
worldObj.setBlock(pX, y - 2, pZ, ModBlocks.sellafield_slaked);
|
||||
if(worldObj.getBlock(pX, y - 3, pZ) == Blocks.stone)
|
||||
worldObj.setBlock(pX, y - 3, pZ, ModBlocks.sellafield_slaked);
|
||||
if(worldObj.getBlock(pX, y - 4, pZ) == Blocks.stone)
|
||||
worldObj.setBlock(pX, y - 4, pZ, ModBlocks.sellafield_slaked);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
float hardness = worldObj.getBlock(pX, y, pZ).getBlockHardness(worldObj, pX, y, pZ);
|
||||
|
||||
if(worldObj.getBlock(pX, y, pZ).getMaterial().isLiquid())
|
||||
hardness = Blocks.air.getBlockHardness(worldObj, pX, y + 1, pZ);
|
||||
|
||||
strength -= hardness;
|
||||
|
||||
worldObj.setBlockToAir(pX, y, pZ);
|
||||
|
||||
y--;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -17,6 +17,7 @@ public class BobmazonOfferFactory {
|
||||
public static List<Offer> machines = new ArrayList();
|
||||
public static List<Offer> weapons = new ArrayList();
|
||||
public static List<Offer> tools = new ArrayList();
|
||||
public static List<Offer> special = new ArrayList();
|
||||
|
||||
public static void init() {
|
||||
|
||||
@ -151,6 +152,40 @@ public class BobmazonOfferFactory {
|
||||
tools.add(new Offer(new ItemStack(ModItems.hazmat_kit), Requirement.ASSEMBLY, 40));
|
||||
tools.add(new Offer(new ItemStack(ModItems.hazmat_red_kit), Requirement.CHEMICS, 100));
|
||||
tools.add(new Offer(new ItemStack(ModItems.hazmat_grey_kit), Requirement.OIL, 160));
|
||||
|
||||
special.add(new Offer(new ItemStack(ModItems.nuke_starter_kit), Requirement.STEEL, 200));
|
||||
special.add(new Offer(new ItemStack(ModItems.nuke_advanced_kit), Requirement.STEEL, 300));
|
||||
special.add(new Offer(new ItemStack(ModItems.boy_kit), Requirement.STEEL, 350));
|
||||
special.add(new Offer(new ItemStack(ModItems.gun_lever_action), Requirement.STEEL, 20));
|
||||
special.add(new Offer(new ItemStack(ModItems.ammo_20gauge, 24), Requirement.STEEL, 10));
|
||||
special.add(new Offer(new ItemStack(ModItems.ammo_20gauge_incendiary, 24), Requirement.STEEL, 15));
|
||||
special.add(new Offer(new ItemStack(ModItems.gun_uzi_silencer, 1), Requirement.STEEL, 20));
|
||||
special.add(new Offer(new ItemStack(ModItems.ammo_22lr, 64), Requirement.STEEL, 10));
|
||||
special.add(new Offer(new ItemStack(ModItems.ammo_22lr_ap, 64), Requirement.STEEL, 15));
|
||||
special.add(new Offer(new ItemStack(ModItems.gun_hk69, 24), Requirement.STEEL, 30));
|
||||
special.add(new Offer(new ItemStack(ModItems.ammo_grenade, 6), Requirement.STEEL, 20));
|
||||
special.add(new Offer(new ItemStack(ModItems.ammo_grenade_sleek, 6), Requirement.STEEL, 40));
|
||||
special.add(new Offer(new ItemStack(ModItems.gun_kit_1, 10), Requirement.STEEL, 10));
|
||||
special.add(new Offer(new ItemStack(ModItems.gun_kit_2, 5), Requirement.STEEL, 15));
|
||||
special.add(new Offer(new ItemStack(ModBlocks.machine_epress, 2), Requirement.STEEL, 20));
|
||||
special.add(new Offer(new ItemStack(ModBlocks.machine_assembler, 1), Requirement.STEEL, 10));
|
||||
special.add(new Offer(new ItemStack(ModBlocks.machine_chemplant, 1), Requirement.STEEL, 10));
|
||||
special.add(new Offer(new ItemStack(ModBlocks.machine_boiler_off, 1), Requirement.STEEL, 10));
|
||||
special.add(new Offer(new ItemStack(ModBlocks.machine_well, 1), Requirement.STEEL, 10));
|
||||
special.add(new Offer(new ItemStack(ModBlocks.machine_refinery, 1), Requirement.STEEL, 25));
|
||||
special.add(new Offer(new ItemStack(ModBlocks.machine_fluidtank, 4), Requirement.STEEL, 10));
|
||||
special.add(new Offer(new ItemStack(ModItems.ingot_steel, 64), Requirement.STEEL, 20));
|
||||
special.add(new Offer(new ItemStack(ModItems.ingot_copper, 64), Requirement.STEEL, 20));
|
||||
special.add(new Offer(new ItemStack(ModItems.ingot_red_copper, 64), Requirement.STEEL, 20));
|
||||
special.add(new Offer(new ItemStack(ModItems.ingot_titanium, 64), Requirement.STEEL, 20));
|
||||
special.add(new Offer(new ItemStack(ModItems.ingot_tungsten, 64), Requirement.STEEL, 20));
|
||||
special.add(new Offer(new ItemStack(ModBlocks.struct_launcher_core, 1), Requirement.STEEL, 30));
|
||||
special.add(new Offer(new ItemStack(ModBlocks.struct_launcher_core_large, 1), Requirement.STEEL, 30));
|
||||
special.add(new Offer(new ItemStack(ModBlocks.struct_launcher, 40), Requirement.STEEL, 20));
|
||||
special.add(new Offer(new ItemStack(ModBlocks.struct_scaffold, 11), Requirement.STEEL, 5));
|
||||
special.add(new Offer(new ItemStack(ModItems.loot_10, 1), Requirement.STEEL, 5));
|
||||
special.add(new Offer(new ItemStack(ModItems.loot_15, 1), Requirement.STEEL, 5));
|
||||
special.add(new Offer(new ItemStack(ModItems.loot_misc, 1), Requirement.STEEL, 5));
|
||||
}
|
||||
|
||||
public static List<Offer> getOffers(ItemStack stack) {
|
||||
@ -165,6 +200,8 @@ public class BobmazonOfferFactory {
|
||||
return weapons;
|
||||
if(stack.getItem() == ModItems.bobmazon_tools)
|
||||
return tools;
|
||||
if(stack.getItem() == ModItems.bobmazon_hidden)
|
||||
return special;
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
@ -56,12 +56,16 @@ public class BulletConfigSyncingUtil {
|
||||
public static final int ROCKET_SLEEK = 0x26;
|
||||
public static final int ROCKET_NUKE = 0x27;
|
||||
public static final int ROCKET_CHAINSAW = 0x28;
|
||||
public static final int ROCKET_TOXIC = 0x29;
|
||||
|
||||
public static final int GRENADE_NORMAL = 0x30;
|
||||
public static final int GRENADE_HE = 0x31;
|
||||
public static final int GRENADE_INCENDIARY = 0x32;
|
||||
public static final int GRENADE_CHEMICAL = 0x33;
|
||||
public static final int GRENADE_SLEEK = 0x34;
|
||||
public static final int GRENADE_CONCUSSION = 0x35;
|
||||
public static final int GRENADE_FINNED = 0x36;
|
||||
public static final int GRENADE_NUCLEAR = 0x37;
|
||||
|
||||
public static final int G12_NORMAL = 0x40;
|
||||
public static final int G12_INCENDIARY = 0x41;
|
||||
@ -130,12 +134,16 @@ public class BulletConfigSyncingUtil {
|
||||
configSet.add(new ConfigKeyPair(GunRocketFactory.getRocketSleekConfig(), ROCKET_SLEEK));
|
||||
configSet.add(new ConfigKeyPair(GunRocketFactory.getRocketNukeConfig(), ROCKET_NUKE));
|
||||
configSet.add(new ConfigKeyPair(GunRocketFactory.getRocketRPCConfig(), ROCKET_CHAINSAW));
|
||||
configSet.add(new ConfigKeyPair(GunRocketFactory.getRocketChlorineConfig(), ROCKET_TOXIC));
|
||||
|
||||
configSet.add(new ConfigKeyPair(GunGrenadeFactory.getGrenadeConfig(), GRENADE_NORMAL));
|
||||
configSet.add(new ConfigKeyPair(GunGrenadeFactory.getGrenadeHEConfig(), GRENADE_HE));
|
||||
configSet.add(new ConfigKeyPair(GunGrenadeFactory.getGrenadeIncendirayConfig(), GRENADE_INCENDIARY));
|
||||
configSet.add(new ConfigKeyPair(GunGrenadeFactory.getGrenadeChlorineConfig(), GRENADE_CHEMICAL));
|
||||
configSet.add(new ConfigKeyPair(GunGrenadeFactory.getGrenadeSleekConfig(), GRENADE_SLEEK));
|
||||
configSet.add(new ConfigKeyPair(GunGrenadeFactory.getGrenadeConcussionConfig(), GRENADE_CONCUSSION));
|
||||
configSet.add(new ConfigKeyPair(GunGrenadeFactory.getGrenadeFinnedConfig(), GRENADE_FINNED));
|
||||
configSet.add(new ConfigKeyPair(GunGrenadeFactory.getGrenadeNuclearConfig(), GRENADE_NUCLEAR));
|
||||
|
||||
configSet.add(new ConfigKeyPair(Gun12GaugeFactory.get12GaugeConfig(), G12_NORMAL));
|
||||
configSet.add(new ConfigKeyPair(Gun12GaugeFactory.get12GaugeFireConfig(), G12_INCENDIARY));
|
||||
|
||||
@ -51,6 +51,7 @@ public class BulletConfiguration {
|
||||
public List<PotionEffect> effects;
|
||||
public int incendiary;
|
||||
public int emp;
|
||||
public boolean blockDamage = true;
|
||||
public float explosive;
|
||||
public double jolt;
|
||||
public int rainbow;
|
||||
|
||||
@ -127,7 +127,7 @@ public class BulletConfigFactory {
|
||||
bullet.wear = 10;
|
||||
bullet.bulletsMin = 1;
|
||||
bullet.bulletsMax = 1;
|
||||
bullet.gravity = 0.05D;
|
||||
bullet.gravity = 0.035D;
|
||||
bullet.maxAge = 300;
|
||||
bullet.doesRicochet = false;
|
||||
bullet.ricochetAngle = 0;
|
||||
|
||||
@ -40,7 +40,10 @@ public class GunGrenadeFactory {
|
||||
config.config.add(BulletConfigSyncingUtil.GRENADE_HE);
|
||||
config.config.add(BulletConfigSyncingUtil.GRENADE_INCENDIARY);
|
||||
config.config.add(BulletConfigSyncingUtil.GRENADE_CHEMICAL);
|
||||
config.config.add(BulletConfigSyncingUtil.GRENADE_CONCUSSION);
|
||||
config.config.add(BulletConfigSyncingUtil.GRENADE_FINNED);
|
||||
config.config.add(BulletConfigSyncingUtil.GRENADE_SLEEK);
|
||||
config.config.add(BulletConfigSyncingUtil.GRENADE_NUCLEAR);
|
||||
config.durability = 140;
|
||||
|
||||
return config;
|
||||
@ -121,4 +124,42 @@ public class GunGrenadeFactory {
|
||||
|
||||
return bullet;
|
||||
}
|
||||
|
||||
public static BulletConfiguration getGrenadeConcussionConfig() {
|
||||
|
||||
BulletConfiguration bullet = BulletConfigFactory.standardGrenadeConfig();
|
||||
|
||||
bullet.ammo = ModItems.ammo_grenade_concussion;
|
||||
bullet.velocity = 2.0F;
|
||||
bullet.dmgMin = 20;
|
||||
bullet.dmgMax = 15;
|
||||
bullet.blockDamage = false;
|
||||
bullet.explosive = 10.0F;
|
||||
bullet.trail = 3;
|
||||
|
||||
return bullet;
|
||||
}
|
||||
|
||||
public static BulletConfiguration getGrenadeFinnedConfig() {
|
||||
|
||||
BulletConfiguration bullet = getGrenadeConfig();
|
||||
|
||||
bullet.ammo = ModItems.ammo_grenade_finned;
|
||||
bullet.gravity = 0.02;
|
||||
bullet.explosive = 1.5F;
|
||||
|
||||
return bullet;
|
||||
}
|
||||
|
||||
public static BulletConfiguration getGrenadeNuclearConfig() {
|
||||
|
||||
BulletConfiguration bullet = getGrenadeConfig();
|
||||
|
||||
bullet.ammo = ModItems.ammo_grenade_nuclear;
|
||||
bullet.velocity = 4;
|
||||
bullet.explosive = 0.0F;
|
||||
bullet.nuke = 15;
|
||||
|
||||
return bullet;
|
||||
}
|
||||
}
|
||||
|
||||
@ -41,6 +41,7 @@ public class GunRocketFactory {
|
||||
config.config.add(BulletConfigSyncingUtil.ROCKET_SHRAPNEL);
|
||||
config.config.add(BulletConfigSyncingUtil.ROCKET_EMP);
|
||||
config.config.add(BulletConfigSyncingUtil.ROCKET_GLARE);
|
||||
config.config.add(BulletConfigSyncingUtil.ROCKET_TOXIC);
|
||||
config.config.add(BulletConfigSyncingUtil.ROCKET_SLEEK);
|
||||
config.config.add(BulletConfigSyncingUtil.ROCKET_NUKE);
|
||||
config.config.add(BulletConfigSyncingUtil.ROCKET_CHAINSAW);
|
||||
@ -62,6 +63,7 @@ public class GunRocketFactory {
|
||||
config.config.add(BulletConfigSyncingUtil.ROCKET_HE);
|
||||
config.config.add(BulletConfigSyncingUtil.ROCKET_EMP);
|
||||
config.config.add(BulletConfigSyncingUtil.ROCKET_SLEEK);
|
||||
config.config.add(BulletConfigSyncingUtil.ROCKET_TOXIC);
|
||||
config.config.add(BulletConfigSyncingUtil.ROCKET_NUKE);
|
||||
config.config.add(BulletConfigSyncingUtil.ROCKET_CHAINSAW);
|
||||
config.durability = 500;
|
||||
@ -74,6 +76,7 @@ public class GunRocketFactory {
|
||||
GunConfiguration config = getGustavConfig();
|
||||
|
||||
config.reloadDuration = 25;
|
||||
config.hasSights = true;
|
||||
|
||||
config.name = "Raketenpanzerbüchse 54";
|
||||
config.manufacturer = "Enzinger Union";
|
||||
@ -201,6 +204,22 @@ public class GunRocketFactory {
|
||||
return bullet;
|
||||
}
|
||||
|
||||
public static BulletConfiguration getRocketChlorineConfig() {
|
||||
|
||||
BulletConfiguration bullet = BulletConfigFactory.standardRocketConfig();
|
||||
|
||||
bullet.ammo = ModItems.ammo_rocket_toxic;
|
||||
bullet.velocity = 1.5F;
|
||||
bullet.dmgMin = 10;
|
||||
bullet.dmgMax = 15;
|
||||
bullet.wear = 10;
|
||||
bullet.explosive = 0;
|
||||
bullet.chlorine = 50;
|
||||
bullet.trail = 7;
|
||||
|
||||
return bullet;
|
||||
}
|
||||
|
||||
public static BulletConfiguration getRocketRPCConfig() {
|
||||
|
||||
BulletConfiguration bullet = BulletConfigFactory.standardRocketConfig();
|
||||
|
||||
@ -105,8 +105,8 @@ public class MachineRecipes {
|
||||
return new ItemStack(ModItems.ingot_dura_steel, 2);
|
||||
}
|
||||
|
||||
if (mODE(item, new String[] {"ingotSteel", "dustSteel"}) && item2.getItem() == ModItems.powder_meteorite
|
||||
|| item.getItem() == ModItems.powder_meteorite && mODE(item2, new String[] {"ingotSteel", "dustSteel"})) {
|
||||
if (mODE(item, new String[] {"ingotDuraSteel", "dustDuraSteel"}) && item2.getItem() == ModItems.powder_meteorite
|
||||
|| item.getItem() == ModItems.powder_meteorite && mODE(item2, new String[] {"ingotDuraSteel", "dustDuraSteel"})) {
|
||||
return new ItemStack(ModItems.ingot_starmetal, 2);
|
||||
}
|
||||
|
||||
@ -148,10 +148,13 @@ public class MachineRecipes {
|
||||
ItemStack[] cloud = new ItemStack[] { new ItemStack(ModItems.powder_copper, 1),
|
||||
new ItemStack(ModItems.sulfur, 1), new ItemStack(ModItems.dust, 1),
|
||||
new ItemStack(ModItems.dust, 1) };
|
||||
|
||||
|
||||
ItemStack[] coal = new ItemStack[] { new ItemStack(ModItems.powder_coal, 2),
|
||||
new ItemStack(ModItems.powder_coal, 2), new ItemStack(ModItems.powder_coal, 2),
|
||||
new ItemStack(Blocks.gravel, 1) };
|
||||
ItemStack[] lignite = new ItemStack[] { new ItemStack(ModItems.powder_lignite, 2),
|
||||
new ItemStack(ModItems.powder_lignite, 2), new ItemStack(ModItems.powder_lignite, 2),
|
||||
new ItemStack(Blocks.gravel, 1) };
|
||||
ItemStack[] iron = new ItemStack[] { new ItemStack(ModItems.powder_iron, 1),
|
||||
new ItemStack(ModItems.powder_iron, 1), new ItemStack(ModItems.powder_iron, 1),
|
||||
new ItemStack(Blocks.gravel, 1) };
|
||||
@ -209,6 +212,9 @@ public class MachineRecipes {
|
||||
ItemStack[] lapis = new ItemStack[] { new ItemStack(ModItems.powder_lapis, 3),
|
||||
new ItemStack(ModItems.powder_lapis, 3), new ItemStack(ModItems.powder_cobalt, 1),
|
||||
new ItemStack(Blocks.gravel, 1) };
|
||||
ItemStack[] starmetal = new ItemStack[] { new ItemStack(ModItems.powder_dura_steel, 3),
|
||||
new ItemStack(ModItems.powder_astatine, 1), new ItemStack(ModItems.powder_cobalt, 2),
|
||||
new ItemStack(Blocks.gravel, 1) };
|
||||
|
||||
if (MainRegistry.enableDebugMode) {
|
||||
if (item.getItem() == Item.getItemFromBlock(ModBlocks.test_render)) {
|
||||
@ -276,6 +282,10 @@ public class MachineRecipes {
|
||||
return coal;
|
||||
}
|
||||
|
||||
if (mODE(item, "oreLignite")) {
|
||||
return lignite;
|
||||
}
|
||||
|
||||
if (mODE(item, "oreIron")) {
|
||||
return iron;
|
||||
}
|
||||
@ -352,6 +362,10 @@ public class MachineRecipes {
|
||||
return lapis;
|
||||
}
|
||||
|
||||
if (mODE(item, "oreStarmetal")) {
|
||||
return starmetal;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@ -932,6 +946,10 @@ public class MachineRecipes {
|
||||
return new ItemStack(ModBlocks.sellafield_core, 1);
|
||||
}
|
||||
|
||||
if (item == ModItems.bobmazon_materials) {
|
||||
return new ItemStack(ModItems.bobmazon_hidden);
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@ -1185,8 +1203,8 @@ public class MachineRecipes {
|
||||
getFurnaceOutput(new ItemStack(ModItems.ingot_steel), new ItemStack(ModItems.ingot_tungsten)).copy());
|
||||
recipes.put(new ItemStack[] { new ItemStack(ModItems.ingot_steel), new ItemStack(ModItems.powder_cobalt) },
|
||||
getFurnaceOutput(new ItemStack(ModItems.ingot_steel), new ItemStack(ModItems.powder_cobalt)).copy());
|
||||
recipes.put(new ItemStack[] { new ItemStack(ModItems.ingot_steel), new ItemStack(ModItems.powder_meteorite) },
|
||||
getFurnaceOutput(new ItemStack(ModItems.ingot_steel), new ItemStack(ModItems.powder_meteorite)).copy());
|
||||
recipes.put(new ItemStack[] { new ItemStack(ModItems.ingot_dura_steel), new ItemStack(ModItems.powder_meteorite) },
|
||||
getFurnaceOutput(new ItemStack(ModItems.ingot_dura_steel), new ItemStack(ModItems.powder_meteorite)).copy());
|
||||
recipes.put(new ItemStack[] { new ItemStack(ModItems.ingot_starmetal), new ItemStack(ModItems.powder_cobalt) },
|
||||
getFurnaceOutput(new ItemStack(ModItems.ingot_starmetal), new ItemStack(ModItems.powder_cobalt)).copy());
|
||||
} catch (Exception x) {
|
||||
@ -1290,6 +1308,10 @@ public class MachineRecipes {
|
||||
getCentrifugeOutput(new ItemStack(ModItems.waste_mox)));
|
||||
recipes.put(new ItemStack(ModItems.waste_schrabidium),
|
||||
getCentrifugeOutput(new ItemStack(ModItems.waste_schrabidium)));
|
||||
recipes.put(new ItemStack(ModBlocks.ore_lignite),
|
||||
getCentrifugeOutput(new ItemStack(ModBlocks.ore_lignite)));
|
||||
recipes.put(new ItemStack(ModBlocks.ore_meteor_starmetal),
|
||||
getCentrifugeOutput(new ItemStack(ModBlocks.ore_meteor_starmetal)));
|
||||
return recipes;
|
||||
}
|
||||
|
||||
@ -2166,7 +2188,12 @@ public class MachineRecipes {
|
||||
|
||||
List<ItemStack> list = new ArrayList<ItemStack>();
|
||||
|
||||
switch(ItemAssemblyTemplate.EnumAssemblyTemplate.getEnum(stack.getItemDamage())) {
|
||||
EnumAssemblyTemplate template = ItemAssemblyTemplate.EnumAssemblyTemplate.getEnum(stack.getItemDamage());
|
||||
|
||||
if(template.ingredients != null)
|
||||
return template.ingredients;
|
||||
|
||||
switch(template) {
|
||||
case IRON_PLATE:
|
||||
list.add(new ItemStack(Items.iron_ingot, 3));
|
||||
break;
|
||||
@ -3931,9 +3958,14 @@ public class MachineRecipes {
|
||||
if(stack == null || !(stack.getItem() instanceof ItemAssemblyTemplate))
|
||||
return null;
|
||||
|
||||
EnumAssemblyTemplate template = ItemAssemblyTemplate.EnumAssemblyTemplate.getEnum(stack.getItemDamage());
|
||||
|
||||
if(template.output != null)
|
||||
return template.output;
|
||||
|
||||
ItemStack output = null;
|
||||
|
||||
switch(ItemAssemblyTemplate.EnumAssemblyTemplate.getEnum(stack.getItemDamage())) {
|
||||
switch(template) {
|
||||
case IRON_PLATE:
|
||||
output = new ItemStack(ModItems.plate_iron, 2);
|
||||
break;
|
||||
@ -4997,6 +5029,11 @@ public class MachineRecipes {
|
||||
list.add(new ItemStack(Items.brick, 1));
|
||||
list.add(new ItemStack(Items.coal, 1));
|
||||
break;
|
||||
case SOLID_FUEL:
|
||||
list.add(new ItemStack(ModItems.solid_fuel, 2));
|
||||
list.add(new ItemStack(ModItems.niter, 1));
|
||||
list.add(new ItemStack(Items.redstone, 1));
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@ -5181,6 +5218,15 @@ public class MachineRecipes {
|
||||
case KEVLAR:
|
||||
input[0] = new FluidStack(100, FluidType.PETROLEUM);
|
||||
break;
|
||||
case SOLID_FUEL:
|
||||
input[0] = new FluidStack(200, FluidType.PETROLEUM);
|
||||
break;
|
||||
case ELECTROLYSIS:
|
||||
input[0] = new FluidStack(8000, FluidType.WATER);
|
||||
break;
|
||||
case XENON:
|
||||
input[0] = new FluidStack(0, FluidType.NONE);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@ -5298,6 +5344,9 @@ public class MachineRecipes {
|
||||
case KEVLAR:
|
||||
output[0] = new ItemStack(ModItems.plate_kevlar, 4);
|
||||
break;
|
||||
case SOLID_FUEL:
|
||||
output[0] = new ItemStack(ModItems.rocket_fuel, 1);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@ -5310,112 +5359,119 @@ public class MachineRecipes {
|
||||
if(stack == null || !(stack.getItem() instanceof ItemChemistryTemplate))
|
||||
return null;
|
||||
|
||||
FluidStack[] input = new FluidStack[2];
|
||||
FluidStack[] output = new FluidStack[2];
|
||||
|
||||
switch(ItemChemistryTemplate.EnumChemistryTemplate.getEnum(stack.getItemDamage())) {
|
||||
case FP_HEAVYOIL:
|
||||
input[0] = new FluidStack(300, FluidType.BITUMEN);
|
||||
input[1] = new FluidStack(700, FluidType.SMEAR);
|
||||
output[0] = new FluidStack(300, FluidType.BITUMEN);
|
||||
output[1] = new FluidStack(700, FluidType.SMEAR);
|
||||
break;
|
||||
case FP_SMEAR:
|
||||
input[0] = new FluidStack(600, FluidType.HEATINGOIL);
|
||||
input[1] = new FluidStack(400, FluidType.LUBRICANT);
|
||||
output[0] = new FluidStack(600, FluidType.HEATINGOIL);
|
||||
output[1] = new FluidStack(400, FluidType.LUBRICANT);
|
||||
break;
|
||||
case FP_NAPHTHA:
|
||||
input[0] = new FluidStack(400, FluidType.HEATINGOIL);
|
||||
input[1] = new FluidStack(600, FluidType.DIESEL);
|
||||
output[0] = new FluidStack(400, FluidType.HEATINGOIL);
|
||||
output[1] = new FluidStack(600, FluidType.DIESEL);
|
||||
break;
|
||||
case FP_LIGHTOIL:
|
||||
input[0] = new FluidStack(400, FluidType.DIESEL);
|
||||
input[1] = new FluidStack(600, FluidType.KEROSENE);
|
||||
output[0] = new FluidStack(400, FluidType.DIESEL);
|
||||
output[1] = new FluidStack(600, FluidType.KEROSENE);
|
||||
break;
|
||||
case FR_REOIL:
|
||||
input[0] = new FluidStack(800, FluidType.RECLAIMED);
|
||||
output[0] = new FluidStack(800, FluidType.RECLAIMED);
|
||||
break;
|
||||
case FR_PETROIL:
|
||||
input[0] = new FluidStack(1000, FluidType.PETROIL);
|
||||
output[0] = new FluidStack(1000, FluidType.PETROIL);
|
||||
break;
|
||||
case FC_BITUMEN:
|
||||
input[0] = new FluidStack(1000, FluidType.OIL);
|
||||
input[1] = new FluidStack(200, FluidType.PETROLEUM);
|
||||
output[0] = new FluidStack(1000, FluidType.OIL);
|
||||
output[1] = new FluidStack(200, FluidType.PETROLEUM);
|
||||
break;
|
||||
case FC_I_NAPHTHA:
|
||||
input[0] = new FluidStack(800, FluidType.NAPHTHA);
|
||||
output[0] = new FluidStack(800, FluidType.NAPHTHA);
|
||||
break;
|
||||
case FC_GAS_PETROLEUM:
|
||||
input[0] = new FluidStack(800, FluidType.PETROLEUM);
|
||||
output[0] = new FluidStack(800, FluidType.PETROLEUM);
|
||||
break;
|
||||
case FC_DIESEL_KEROSENE:
|
||||
input[0] = new FluidStack(400, FluidType.KEROSENE);
|
||||
output[0] = new FluidStack(400, FluidType.KEROSENE);
|
||||
break;
|
||||
case FC_KEROSENE_PETROLEUM:
|
||||
input[0] = new FluidStack(800, FluidType.PETROLEUM);
|
||||
output[0] = new FluidStack(800, FluidType.PETROLEUM);
|
||||
break;
|
||||
case CC_OIL:
|
||||
input[0] = new FluidStack(2000, FluidType.OIL);
|
||||
output[0] = new FluidStack(2000, FluidType.OIL);
|
||||
break;
|
||||
case CC_I:
|
||||
input[0] = new FluidStack(1600, FluidType.SMEAR);
|
||||
output[0] = new FluidStack(1600, FluidType.SMEAR);
|
||||
break;
|
||||
case CC_HEATING:
|
||||
input[0] = new FluidStack(1800, FluidType.HEATINGOIL);
|
||||
output[0] = new FluidStack(1800, FluidType.HEATINGOIL);
|
||||
break;
|
||||
case CC_HEAVY:
|
||||
input[0] = new FluidStack(1800, FluidType.HEAVYOIL);
|
||||
output[0] = new FluidStack(1800, FluidType.HEAVYOIL);
|
||||
break;
|
||||
case CC_NAPHTHA:
|
||||
input[0] = new FluidStack(2000, FluidType.NAPHTHA);
|
||||
output[0] = new FluidStack(2000, FluidType.NAPHTHA);
|
||||
break;
|
||||
case COOLANT:
|
||||
input[0] = new FluidStack(2000, FluidType.COOLANT);
|
||||
output[0] = new FluidStack(2000, FluidType.COOLANT);
|
||||
break;
|
||||
case CRYOGEL:
|
||||
input[0] = new FluidStack(2000, FluidType.CRYOGEL);
|
||||
output[0] = new FluidStack(2000, FluidType.CRYOGEL);
|
||||
break;
|
||||
case PEROXIDE:
|
||||
input[0] = new FluidStack(800, FluidType.ACID);
|
||||
output[0] = new FluidStack(800, FluidType.ACID);
|
||||
break;
|
||||
case DEUTERIUM:
|
||||
input[0] = new FluidStack(500, FluidType.DEUTERIUM);
|
||||
output[0] = new FluidStack(500, FluidType.DEUTERIUM);
|
||||
break;
|
||||
case STEAM:
|
||||
input[0] = new FluidStack(1000, FluidType.STEAM);
|
||||
output[0] = new FluidStack(1000, FluidType.STEAM);
|
||||
break;
|
||||
case BP_BIOGAS:
|
||||
input[0] = new FluidStack(4000, FluidType.BIOGAS);
|
||||
output[0] = new FluidStack(4000, FluidType.BIOGAS);
|
||||
break;
|
||||
case BP_BIOFUEL:
|
||||
input[0] = new FluidStack(1000, FluidType.BIOFUEL);
|
||||
output[0] = new FluidStack(1000, FluidType.BIOFUEL);
|
||||
break;
|
||||
case UF6:
|
||||
input[0] = new FluidStack(1000, FluidType.UF6);
|
||||
output[0] = new FluidStack(1000, FluidType.UF6);
|
||||
break;
|
||||
case PUF6:
|
||||
input[0] = new FluidStack(1000, FluidType.PUF6);
|
||||
output[0] = new FluidStack(1000, FluidType.PUF6);
|
||||
break;
|
||||
case SAS3:
|
||||
input[0] = new FluidStack(1000, FluidType.SAS3);
|
||||
output[0] = new FluidStack(1000, FluidType.SAS3);
|
||||
break;
|
||||
case NITAN:
|
||||
input[0] = new FluidStack(1000, FluidType.NITAN);
|
||||
output[0] = new FluidStack(1000, FluidType.NITAN);
|
||||
break;
|
||||
case OIL_SAND:
|
||||
input[0] = new FluidStack(1000, FluidType.BITUMEN);
|
||||
output[0] = new FluidStack(1000, FluidType.BITUMEN);
|
||||
break;
|
||||
case DYN_SCHRAB:
|
||||
input[0] = new FluidStack(50, FluidType.WATZ);
|
||||
output[0] = new FluidStack(50, FluidType.WATZ);
|
||||
break;
|
||||
case DYN_EUPH:
|
||||
input[0] = new FluidStack(100, FluidType.WATZ);
|
||||
output[0] = new FluidStack(100, FluidType.WATZ);
|
||||
break;
|
||||
case DYN_DNT:
|
||||
input[0] = new FluidStack(150, FluidType.WATZ);
|
||||
output[0] = new FluidStack(150, FluidType.WATZ);
|
||||
break;
|
||||
case ELECTROLYSIS:
|
||||
output[0] = new FluidStack(400, FluidType.HYDROGEN);
|
||||
output[1] = new FluidStack(400, FluidType.OXYGEN);
|
||||
break;
|
||||
case XENON:
|
||||
output[0] = new FluidStack(50, FluidType.XENON);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return input;
|
||||
return output;
|
||||
}
|
||||
|
||||
public String[] getInfoFromItem(ItemStack stack) {
|
||||
|
||||
@ -300,6 +300,7 @@ public class ModItems {
|
||||
public static Item cyclotron_tower;
|
||||
public static Item component_limiter;
|
||||
public static Item component_emitter;
|
||||
public static Item chlorine_pinwheel;
|
||||
|
||||
public static Item circuit_raw;
|
||||
public static Item circuit_aluminium;
|
||||
@ -414,6 +415,10 @@ public class ModItems {
|
||||
public static Item sat_head_laser;
|
||||
public static Item sat_head_resonator;
|
||||
|
||||
public static Item seg_10;
|
||||
public static Item seg_15;
|
||||
public static Item seg_20;
|
||||
|
||||
public static Item chopper_head;
|
||||
public static Item chopper_gun;
|
||||
public static Item chopper_torso;
|
||||
@ -773,6 +778,7 @@ public class ModItems {
|
||||
public static Item powder_poison;
|
||||
public static Item powder_thermite;
|
||||
public static Item cordite;
|
||||
public static Item ballistite;
|
||||
public static Item pellet_gas;
|
||||
public static Item magnetron;
|
||||
public static Item pellet_buckshot;
|
||||
@ -800,6 +806,7 @@ public class ModItems {
|
||||
public static Item bobmazon_machines;
|
||||
public static Item bobmazon_weapons;
|
||||
public static Item bobmazon_tools;
|
||||
public static Item bobmazon_hidden;
|
||||
|
||||
public static Item missile_assembly;
|
||||
public static Item missile_generic;
|
||||
@ -847,6 +854,8 @@ public class ModItems {
|
||||
public static Item mp_thruster_20_kerosene_dual;
|
||||
public static Item mp_thruster_20_kerosene_triple;
|
||||
public static Item mp_thruster_20_solid;
|
||||
public static Item mp_thruster_20_solid_multi;
|
||||
public static Item mp_thruster_20_solid_multier;
|
||||
|
||||
public static Item mp_stability_10_flat;
|
||||
public static Item mp_stability_10_cruise;
|
||||
@ -948,6 +957,7 @@ public class ModItems {
|
||||
public static Item mp_warhead_10_nuclear;
|
||||
public static Item mp_warhead_10_nuclear_large;
|
||||
public static Item mp_warhead_10_taint;
|
||||
public static Item mp_warhead_10_cloud;
|
||||
public static Item mp_warhead_15_he;
|
||||
public static Item mp_warhead_15_incendiary;
|
||||
public static Item mp_warhead_15_nuclear;
|
||||
@ -1027,6 +1037,7 @@ public class ModItems {
|
||||
public static Item ammo_rocket_shrapnel;
|
||||
public static Item ammo_rocket_emp;
|
||||
public static Item ammo_rocket_glare;
|
||||
public static Item ammo_rocket_toxic;
|
||||
public static Item ammo_rocket_sleek;
|
||||
public static Item ammo_rocket_nuclear;
|
||||
public static Item ammo_rocket_rpc;
|
||||
@ -1034,7 +1045,10 @@ public class ModItems {
|
||||
public static Item ammo_grenade_he;
|
||||
public static Item ammo_grenade_incendiary;
|
||||
public static Item ammo_grenade_toxic;
|
||||
public static Item ammo_grenade_concussion;
|
||||
public static Item ammo_grenade_finned;
|
||||
public static Item ammo_grenade_sleek;
|
||||
public static Item ammo_grenade_nuclear;
|
||||
|
||||
public static Item gun_rpg;
|
||||
public static Item gun_rpg_ammo;
|
||||
@ -1528,7 +1542,6 @@ public class ModItems {
|
||||
public static Item hazmat_grey_kit;
|
||||
|
||||
public static Item loot_10;
|
||||
public static Item loot_10_long;
|
||||
public static Item loot_15;
|
||||
public static Item loot_misc;
|
||||
|
||||
@ -1990,6 +2003,7 @@ public class ModItems {
|
||||
pellet_coal = new Item().setUnlocalizedName("pellet_coal").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":pellet_coal");
|
||||
component_limiter = new Item().setUnlocalizedName("component_limiter").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":component_limiter");
|
||||
component_emitter = new Item().setUnlocalizedName("component_emitter").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":component_emitter");
|
||||
chlorine_pinwheel = new Item().setUnlocalizedName("chlorine_pinwheel").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":chlorine_pinwheel");
|
||||
|
||||
cap_aluminium = new Item().setUnlocalizedName("cap_aluminium").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":cap_aluminium");
|
||||
hull_small_steel = new Item().setUnlocalizedName("hull_small_steel").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":hull_small_steel");
|
||||
@ -2049,6 +2063,10 @@ public class ModItems {
|
||||
sat_head_laser = new Item().setUnlocalizedName("sat_head_laser").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":sat_head_laser");
|
||||
sat_head_resonator = new Item().setUnlocalizedName("sat_head_resonator").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":sat_head_resonator");
|
||||
|
||||
seg_10 = new Item().setUnlocalizedName("seg_10").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":seg_10");
|
||||
seg_15 = new Item().setUnlocalizedName("seg_15").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":seg_15");
|
||||
seg_20 = new Item().setUnlocalizedName("seg_20").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":seg_20");
|
||||
|
||||
chopper_head = new Item().setUnlocalizedName("chopper_head").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":chopper_head");
|
||||
chopper_gun = new Item().setUnlocalizedName("chopper_gun").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":chopper_gun");
|
||||
chopper_torso = new Item().setUnlocalizedName("chopper_torso").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":chopper_torso");
|
||||
@ -2422,6 +2440,7 @@ public class ModItems {
|
||||
powder_poison = new ItemCustomLore().setUnlocalizedName("powder_poison").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":powder_poison");
|
||||
powder_thermite = new ItemCustomLore().setUnlocalizedName("powder_thermite").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":powder_thermite");
|
||||
cordite = new Item().setUnlocalizedName("cordite").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":cordite");
|
||||
ballistite = new Item().setUnlocalizedName("ballistite").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":ballistite");
|
||||
pellet_gas = new ItemCustomLore().setUnlocalizedName("pellet_gas").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":pellet_gas");
|
||||
magnetron = new ItemCustomLore().setUnlocalizedName("magnetron").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":magnetron_alt");
|
||||
pellet_buckshot = new Item().setUnlocalizedName("pellet_buckshot").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":pellets_lead");
|
||||
@ -2496,7 +2515,9 @@ public class ModItems {
|
||||
mp_thruster_20_kerosene = new ItemMissile().makeThruster(FuelType.KEROSENE, 1F, 100F, PartSize.SIZE_20) .setUnlocalizedName("mp_thruster_20_kerosene");
|
||||
mp_thruster_20_kerosene_dual = new ItemMissile().makeThruster(FuelType.KEROSENE, 1F, 100F, PartSize.SIZE_20) .setUnlocalizedName("mp_thruster_20_kerosene_dual");
|
||||
mp_thruster_20_kerosene_triple = new ItemMissile().makeThruster(FuelType.KEROSENE, 1F, 100F, PartSize.SIZE_20) .setUnlocalizedName("mp_thruster_20_kerosene_triple");
|
||||
mp_thruster_20_solid = new ItemMissile().makeThruster(FuelType.SOLID, 1F, 100F, PartSize.SIZE_20) .setUnlocalizedName("mp_thruster_20_solid");
|
||||
mp_thruster_20_solid = new ItemMissile().makeThruster(FuelType.SOLID, 1F, 100F, PartSize.SIZE_20) .setUnlocalizedName("mp_thruster_20_solid");
|
||||
mp_thruster_20_solid_multi = new ItemMissile().makeThruster(FuelType.SOLID, 1F, 100F, PartSize.SIZE_20) .setUnlocalizedName("mp_thruster_20_solid_multi");
|
||||
mp_thruster_20_solid_multier = new ItemMissile().makeThruster(FuelType.SOLID, 1F, 100F, PartSize.SIZE_20) .setUnlocalizedName("mp_thruster_20_solid_multier");
|
||||
|
||||
mp_stability_10_flat = new ItemMissile().makeStability(0.5F, PartSize.SIZE_10).setHealth(10F) .setUnlocalizedName("mp_stability_10_flat");
|
||||
mp_stability_10_cruise = new ItemMissile().makeStability(0.25F, PartSize.SIZE_10).setHealth(5F) .setUnlocalizedName("mp_stability_10_cruise");
|
||||
@ -2566,9 +2587,9 @@ public class ModItems {
|
||||
mp_fuselage_15_kerosene_blackjack = ((ItemMissile) mp_fuselage_15_kerosene).copy().setRarity(Rarity.LEGENDARY).setTitle("Queen Whiskey").setHealth(100F).setUnlocalizedName("mp_fuselage_15_kerosene_blackjack");
|
||||
mp_fuselage_15_kerosene_lambda = ((ItemMissile) mp_fuselage_15_kerosene).copy().setRarity(Rarity.RARE).setAuthor("VT-6/24").setTitle("Lambda Complex").setHealth(75F).setWittyText("MAGNIFICENT MICROWAVE CASSEROLE").setUnlocalizedName("mp_fuselage_15_kerosene_lambda");
|
||||
mp_fuselage_15_kerosene_minuteman = ((ItemMissile) mp_fuselage_15_kerosene).copy().setRarity(Rarity.UNCOMMON).setAuthor("Spexta").setTitle("MX 1702").setUnlocalizedName("mp_fuselage_15_kerosene_minuteman");
|
||||
mp_fuselage_15_kerosene_pip = ((ItemMissile) mp_fuselage_15_kerosene).copy().setRarity(Rarity.EPIC).setAuthor("The Doctor").setTitle("LittlePip").setWittyText("32!").setUnlocalizedName("mp_fuselage_15_kerosene_pip");
|
||||
mp_fuselage_15_kerosene_pip = ((ItemMissile) mp_fuselage_15_kerosene).copy().setRarity(Rarity.EPIC).setAuthor("The Doctor").setTitle("LittlePip").setWittyText("31!").setUnlocalizedName("mp_fuselage_15_kerosene_pip");
|
||||
mp_fuselage_15_kerosene_taint = ((ItemMissile) mp_fuselage_15_kerosene).copy().setRarity(Rarity.UNCOMMON).setAuthor("Sam").setTitle("Tainted").setWittyText("DUN-DUN!").setUnlocalizedName("mp_fuselage_15_kerosene_taint");
|
||||
mp_fuselage_15_kerosene_yuck = ((ItemMissile) mp_fuselage_15_kerosene).copy().setRarity(Rarity.EPIC).setAuthor("Hoboy").setTitle("Flesh").setWittyText("Note: never clean DNA vials with your own spit.").setHealth(60F).setUnlocalizedName("mp_fuselage_15_kerosene_yuck");
|
||||
mp_fuselage_15_kerosene_yuck = ((ItemMissile) mp_fuselage_15_kerosene).copy().setRarity(Rarity.EPIC).setAuthor("Hoboy").setTitle("Flesh").setWittyText("Note: Never clean DNA vials with your own spit.").setHealth(60F).setUnlocalizedName("mp_fuselage_15_kerosene_yuck");
|
||||
|
||||
mp_fuselage_15_solid = new ItemMissile().makeFuselage(FuelType.SOLID, 15000F, PartSize.SIZE_15, PartSize.SIZE_15).setHealth(60F) .setUnlocalizedName("mp_fuselage_15_solid").setMaxStackSize(1).setCreativeTab(MainRegistry.missileTab).setTextureName(RefStrings.MODID + ":mp_fuselage");
|
||||
mp_fuselage_15_solid_insulation = ((ItemMissile) mp_fuselage_15_solid).copy().setRarity(Rarity.COMMON).setTitle("Orange Insulation").setHealth(65F).setUnlocalizedName("mp_fuselage_15_solid_insulation");
|
||||
@ -2598,6 +2619,7 @@ public class ModItems {
|
||||
mp_warhead_10_nuclear = new ItemMissile().makeWarhead(WarheadType.NUCLEAR, 35F, 1.5F, PartSize.SIZE_10).setTitle("Tater Tot").setHealth(10F).setUnlocalizedName("mp_warhead_10_nuclear").setMaxStackSize(1).setCreativeTab(MainRegistry.missileTab).setTextureName(RefStrings.MODID + ":mp_warhead");
|
||||
mp_warhead_10_nuclear_large = new ItemMissile().makeWarhead(WarheadType.NUCLEAR, 75F, 2.5F, PartSize.SIZE_10).setTitle("Chernobyl Boris").setHealth(15F).setUnlocalizedName("mp_warhead_10_nuclear_large").setMaxStackSize(1).setCreativeTab(MainRegistry.missileTab).setTextureName(RefStrings.MODID + ":mp_warhead");
|
||||
mp_warhead_10_taint = new ItemMissile().makeWarhead(WarheadType.TAINT, 15F, 1.5F, PartSize.SIZE_10).setHealth(20F).setRarity(Rarity.UNCOMMON).setWittyText("Eat my taint! Bureaucracy is dead and we killed it!").setUnlocalizedName("mp_warhead_10_taint").setMaxStackSize(1).setCreativeTab(MainRegistry.missileTab).setTextureName(RefStrings.MODID + ":mp_warhead");
|
||||
mp_warhead_10_cloud = new ItemMissile().makeWarhead(WarheadType.CLOUD, 15F, 1.5F, PartSize.SIZE_10).setHealth(20F).setRarity(Rarity.RARE).setUnlocalizedName("mp_warhead_10_cloud").setMaxStackSize(1).setCreativeTab(MainRegistry.missileTab).setTextureName(RefStrings.MODID + ":mp_warhead");
|
||||
mp_warhead_15_he = new ItemMissile().makeWarhead(WarheadType.HE, 50F, 2.5F, PartSize.SIZE_15).setHealth(10F) .setUnlocalizedName("mp_warhead_15_he").setMaxStackSize(1).setCreativeTab(MainRegistry.missileTab).setTextureName(RefStrings.MODID + ":mp_warhead");
|
||||
mp_warhead_15_incendiary = new ItemMissile().makeWarhead(WarheadType.INC, 35F, 2.5F, PartSize.SIZE_15).setHealth(10F) .setUnlocalizedName("mp_warhead_15_incendiary").setMaxStackSize(1).setCreativeTab(MainRegistry.missileTab).setTextureName(RefStrings.MODID + ":mp_warhead");
|
||||
mp_warhead_15_nuclear = new ItemMissile().makeWarhead(WarheadType.NUCLEAR, 125F, 5F, PartSize.SIZE_15).setTitle("Auntie Bertha").setHealth(15F).setUnlocalizedName("mp_warhead_15_nuclear").setMaxStackSize(1).setCreativeTab(MainRegistry.missileTab).setTextureName(RefStrings.MODID + ":mp_warhead");
|
||||
@ -2663,6 +2685,7 @@ public class ModItems {
|
||||
ammo_rocket_shrapnel = new ItemAmmo().setUnlocalizedName("ammo_rocket_shrapnel").setCreativeTab(MainRegistry.weaponTab).setTextureName(RefStrings.MODID + ":ammo_rocket_shrapnel");
|
||||
ammo_rocket_emp = new ItemAmmo().setUnlocalizedName("ammo_rocket_emp").setCreativeTab(MainRegistry.weaponTab).setTextureName(RefStrings.MODID + ":ammo_rocket_emp");
|
||||
ammo_rocket_glare = new ItemAmmo().setUnlocalizedName("ammo_rocket_glare").setCreativeTab(MainRegistry.weaponTab).setTextureName(RefStrings.MODID + ":ammo_rocket_glare");
|
||||
ammo_rocket_toxic = new ItemAmmo().setUnlocalizedName("ammo_rocket_toxic").setCreativeTab(MainRegistry.weaponTab).setTextureName(RefStrings.MODID + ":ammo_rocket_toxic");
|
||||
ammo_rocket_sleek = new ItemAmmo().setUnlocalizedName("ammo_rocket_sleek").setCreativeTab(MainRegistry.weaponTab).setTextureName(RefStrings.MODID + ":ammo_rocket_sleek");
|
||||
ammo_rocket_nuclear = new ItemAmmo().setUnlocalizedName("ammo_rocket_nuclear").setCreativeTab(MainRegistry.weaponTab).setTextureName(RefStrings.MODID + ":ammo_rocket_nuclear");
|
||||
ammo_rocket_rpc = new ItemAmmo().setUnlocalizedName("ammo_rocket_rpc").setCreativeTab(MainRegistry.weaponTab).setTextureName(RefStrings.MODID + ":ammo_rocket_rpc");
|
||||
@ -2670,7 +2693,10 @@ public class ModItems {
|
||||
ammo_grenade_he = new ItemAmmo().setUnlocalizedName("ammo_grenade_he").setCreativeTab(MainRegistry.weaponTab).setTextureName(RefStrings.MODID + ":ammo_grenade_he");
|
||||
ammo_grenade_incendiary = new ItemAmmo().setUnlocalizedName("ammo_grenade_incendiary").setCreativeTab(MainRegistry.weaponTab).setTextureName(RefStrings.MODID + ":ammo_grenade_incendiary");
|
||||
ammo_grenade_toxic = new ItemAmmo().setUnlocalizedName("ammo_grenade_toxic").setCreativeTab(MainRegistry.weaponTab).setTextureName(RefStrings.MODID + ":ammo_grenade_toxic");
|
||||
ammo_grenade_concussion = new ItemAmmo().setUnlocalizedName("ammo_grenade_concussion").setCreativeTab(MainRegistry.weaponTab).setTextureName(RefStrings.MODID + ":ammo_grenade_concussion");
|
||||
ammo_grenade_finned = new ItemAmmo().setUnlocalizedName("ammo_grenade_finned").setCreativeTab(MainRegistry.weaponTab).setTextureName(RefStrings.MODID + ":ammo_grenade_finned");
|
||||
ammo_grenade_sleek = new ItemAmmo().setUnlocalizedName("ammo_grenade_sleek").setCreativeTab(MainRegistry.weaponTab).setTextureName(RefStrings.MODID + ":ammo_grenade_sleek");
|
||||
ammo_grenade_nuclear = new ItemAmmo().setUnlocalizedName("ammo_grenade_nuclear").setCreativeTab(MainRegistry.weaponTab).setTextureName(RefStrings.MODID + ":ammo_grenade_nuclear");
|
||||
|
||||
gun_rpg = new ItemGunBase(GunRocketFactory.getGustavConfig()).setUnlocalizedName("gun_rpg").setCreativeTab(MainRegistry.weaponTab).setTextureName(RefStrings.MODID + ":gun_rpg");
|
||||
gun_karl = new ItemGunBase(GunRocketFactory.getKarlConfig()).setUnlocalizedName("gun_karl").setCreativeTab(MainRegistry.weaponTab).setTextureName(RefStrings.MODID + ":gun_karl");
|
||||
@ -3001,7 +3027,6 @@ public class ModItems {
|
||||
hazmat_grey_kit = new ItemStarterKit().setUnlocalizedName("hazmat_grey_kit").setMaxStackSize(1).setCreativeTab(MainRegistry.consumableTab).setTextureName(RefStrings.MODID + ":hazmat_grey_kit");
|
||||
|
||||
loot_10 = new ItemLootCrate().setUnlocalizedName("loot_10").setMaxStackSize(1).setCreativeTab(MainRegistry.missileTab).setTextureName(RefStrings.MODID + ":loot_10");
|
||||
loot_10_long = new ItemLootCrate().setUnlocalizedName("loot_10_long").setMaxStackSize(1).setCreativeTab(MainRegistry.missileTab).setTextureName(RefStrings.MODID + ":loot_10_long");
|
||||
loot_15 = new ItemLootCrate().setUnlocalizedName("loot_15").setMaxStackSize(1).setCreativeTab(MainRegistry.missileTab).setTextureName(RefStrings.MODID + ":loot_15");
|
||||
loot_misc = new ItemLootCrate().setUnlocalizedName("loot_misc").setMaxStackSize(1).setCreativeTab(MainRegistry.missileTab).setTextureName(RefStrings.MODID + ":loot_misc");
|
||||
|
||||
@ -3073,7 +3098,7 @@ public class ModItems {
|
||||
padlock_rusty = new ItemLock(1).setUnlocalizedName("padlock_rusty").setMaxStackSize(1).setCreativeTab(MainRegistry.consumableTab).setTextureName(RefStrings.MODID + ":padlock_rusty");
|
||||
padlock = new ItemLock(0.1).setUnlocalizedName("padlock").setMaxStackSize(1).setCreativeTab(MainRegistry.consumableTab).setTextureName(RefStrings.MODID + ":padlock");
|
||||
padlock_reinforced = new ItemLock(0.02).setUnlocalizedName("padlock_reinforced").setMaxStackSize(1).setCreativeTab(MainRegistry.consumableTab).setTextureName(RefStrings.MODID + ":padlock_reinforced");
|
||||
padlock_unbreakable = new ItemLock(0).setUnlocalizedName("padlock_unbreakable").setMaxStackSize(1).setCreativeTab(MainRegistry.consumableTab).setTextureName(RefStrings.MODID + ":padlock_unbreakable");
|
||||
padlock_unbreakable = new ItemLock(0).setUnlocalizedName("padlock_unbreakable").setMaxStackSize(1).setCreativeTab(null).setTextureName(RefStrings.MODID + ":padlock_unbreakable");
|
||||
|
||||
turret_light_ammo = new ItemTurretAmmo(ModBlocks.turret_light, 100).setUnlocalizedName("turret_light_ammo").setCreativeTab(MainRegistry.weaponTab).setTextureName(RefStrings.MODID + ":turret_light_ammo");
|
||||
turret_heavy_ammo = new ItemTurretAmmo(ModBlocks.turret_heavy, 25).setUnlocalizedName("turret_heavy_ammo").setCreativeTab(MainRegistry.weaponTab).setTextureName(RefStrings.MODID + ":turret_heavy_ammo");
|
||||
@ -3102,6 +3127,7 @@ public class ModItems {
|
||||
bobmazon_machines = new ItemCatalog().setUnlocalizedName("bobmazon_machines").setMaxStackSize(1).setCreativeTab(MainRegistry.templateTab).setTextureName(RefStrings.MODID + ":bobmazon_machines");
|
||||
bobmazon_weapons = new ItemCatalog().setUnlocalizedName("bobmazon_weapons").setMaxStackSize(1).setCreativeTab(MainRegistry.templateTab).setTextureName(RefStrings.MODID + ":bobmazon_weapons");
|
||||
bobmazon_tools = new ItemCatalog().setUnlocalizedName("bobmazon_tools").setMaxStackSize(1).setCreativeTab(MainRegistry.templateTab).setTextureName(RefStrings.MODID + ":bobmazon_tools");
|
||||
bobmazon_hidden = new ItemCatalog().setUnlocalizedName("bobmazon_hidden").setMaxStackSize(1).setCreativeTab(MainRegistry.templateTab).setTextureName(RefStrings.MODID + ":bobmazon_special");
|
||||
|
||||
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");
|
||||
@ -3555,6 +3581,7 @@ public class ModItems {
|
||||
GameRegistry.registerItem(powder_thermite, powder_thermite.getUnlocalizedName());
|
||||
GameRegistry.registerItem(powder_power, powder_power.getUnlocalizedName());
|
||||
GameRegistry.registerItem(cordite, cordite.getUnlocalizedName());
|
||||
GameRegistry.registerItem(ballistite, ballistite.getUnlocalizedName());
|
||||
|
||||
//Fragments
|
||||
GameRegistry.registerItem(fragment_neodymium, fragment_neodymium.getUnlocalizedName());
|
||||
@ -3673,6 +3700,7 @@ public class ModItems {
|
||||
GameRegistry.registerItem(pipes_steel, pipes_steel.getUnlocalizedName());
|
||||
GameRegistry.registerItem(drill_titanium, drill_titanium.getUnlocalizedName());
|
||||
GameRegistry.registerItem(photo_panel, photo_panel.getUnlocalizedName());
|
||||
GameRegistry.registerItem(chlorine_pinwheel, chlorine_pinwheel.getUnlocalizedName());
|
||||
|
||||
//Teleporter Parts
|
||||
GameRegistry.registerItem(telepad, telepad.getUnlocalizedName());
|
||||
@ -3738,6 +3766,9 @@ public class ModItems {
|
||||
GameRegistry.registerItem(sat_head_radar, sat_head_radar.getUnlocalizedName());
|
||||
GameRegistry.registerItem(sat_head_laser, sat_head_laser.getUnlocalizedName());
|
||||
GameRegistry.registerItem(sat_head_resonator, sat_head_resonator.getUnlocalizedName());
|
||||
GameRegistry.registerItem(seg_10, seg_10.getUnlocalizedName());
|
||||
GameRegistry.registerItem(seg_15, seg_15.getUnlocalizedName());
|
||||
GameRegistry.registerItem(seg_20, seg_20.getUnlocalizedName());
|
||||
|
||||
//Chopper parts
|
||||
GameRegistry.registerItem(chopper_head, chopper_head.getUnlocalizedName());
|
||||
@ -3960,6 +3991,7 @@ public class ModItems {
|
||||
GameRegistry.registerItem(bobmazon_machines, bobmazon_machines.getUnlocalizedName());
|
||||
GameRegistry.registerItem(bobmazon_weapons, bobmazon_weapons.getUnlocalizedName());
|
||||
GameRegistry.registerItem(bobmazon_tools, bobmazon_tools.getUnlocalizedName());
|
||||
GameRegistry.registerItem(bobmazon_hidden, bobmazon_hidden.getUnlocalizedName());
|
||||
|
||||
//Hydraulic Press Stamps
|
||||
GameRegistry.registerItem(stamp_stone_flat, stamp_stone_flat.getUnlocalizedName());
|
||||
@ -4323,6 +4355,8 @@ public class ModItems {
|
||||
GameRegistry.registerItem(mp_thruster_20_kerosene_dual, mp_thruster_20_kerosene_dual.getUnlocalizedName());
|
||||
GameRegistry.registerItem(mp_thruster_20_kerosene_triple, mp_thruster_20_kerosene_triple.getUnlocalizedName());
|
||||
GameRegistry.registerItem(mp_thruster_20_solid, mp_thruster_20_solid.getUnlocalizedName());
|
||||
GameRegistry.registerItem(mp_thruster_20_solid_multi, mp_thruster_20_solid_multi.getUnlocalizedName());
|
||||
GameRegistry.registerItem(mp_thruster_20_solid_multier, mp_thruster_20_solid_multier.getUnlocalizedName());
|
||||
GameRegistry.registerItem(mp_stability_10_flat, mp_stability_10_flat.getUnlocalizedName());
|
||||
GameRegistry.registerItem(mp_stability_10_cruise, mp_stability_10_cruise.getUnlocalizedName());
|
||||
GameRegistry.registerItem(mp_stability_10_space, mp_stability_10_space.getUnlocalizedName());
|
||||
@ -4410,6 +4444,7 @@ public class ModItems {
|
||||
GameRegistry.registerItem(mp_warhead_10_nuclear, mp_warhead_10_nuclear.getUnlocalizedName());
|
||||
GameRegistry.registerItem(mp_warhead_10_nuclear_large, mp_warhead_10_nuclear_large.getUnlocalizedName());
|
||||
GameRegistry.registerItem(mp_warhead_10_taint, mp_warhead_10_taint.getUnlocalizedName());
|
||||
GameRegistry.registerItem(mp_warhead_10_cloud, mp_warhead_10_cloud.getUnlocalizedName());
|
||||
GameRegistry.registerItem(mp_warhead_15_he, mp_warhead_15_he.getUnlocalizedName());
|
||||
GameRegistry.registerItem(mp_warhead_15_incendiary, mp_warhead_15_incendiary.getUnlocalizedName());
|
||||
GameRegistry.registerItem(mp_warhead_15_nuclear, mp_warhead_15_nuclear.getUnlocalizedName());
|
||||
@ -4424,7 +4459,7 @@ public class ModItems {
|
||||
GameRegistry.registerItem(mp_chip_4, mp_chip_4.getUnlocalizedName());
|
||||
GameRegistry.registerItem(mp_chip_5, mp_chip_5.getUnlocalizedName());
|
||||
|
||||
GameRegistry.registerItem(missile_skin_camo, missile_skin_camo.getUnlocalizedName());
|
||||
/*GameRegistry.registerItem(missile_skin_camo, missile_skin_camo.getUnlocalizedName());
|
||||
GameRegistry.registerItem(missile_skin_desert, missile_skin_desert.getUnlocalizedName());
|
||||
GameRegistry.registerItem(missile_skin_flames, missile_skin_flames.getUnlocalizedName());
|
||||
GameRegistry.registerItem(missile_skin_manly_pink, missile_skin_manly_pink.getUnlocalizedName());
|
||||
@ -4432,7 +4467,7 @@ public class ModItems {
|
||||
GameRegistry.registerItem(missile_skin_sleek, missile_skin_sleek.getUnlocalizedName());
|
||||
GameRegistry.registerItem(missile_skin_soviet_glory, missile_skin_soviet_glory.getUnlocalizedName());
|
||||
GameRegistry.registerItem(missile_skin_soviet_stank, missile_skin_soviet_stank.getUnlocalizedName());
|
||||
GameRegistry.registerItem(missile_skin_metal, missile_skin_metal.getUnlocalizedName());
|
||||
GameRegistry.registerItem(missile_skin_metal, missile_skin_metal.getUnlocalizedName());*/
|
||||
|
||||
//Satellites
|
||||
GameRegistry.registerItem(sat_mapper, sat_mapper.getUnlocalizedName());
|
||||
@ -4585,6 +4620,7 @@ public class ModItems {
|
||||
GameRegistry.registerItem(ammo_rocket_shrapnel, ammo_rocket_shrapnel.getUnlocalizedName());
|
||||
GameRegistry.registerItem(ammo_rocket_emp, ammo_rocket_emp.getUnlocalizedName());
|
||||
GameRegistry.registerItem(ammo_rocket_glare, ammo_rocket_glare.getUnlocalizedName());
|
||||
GameRegistry.registerItem(ammo_rocket_toxic, ammo_rocket_toxic.getUnlocalizedName());
|
||||
GameRegistry.registerItem(ammo_rocket_sleek, ammo_rocket_sleek.getUnlocalizedName());
|
||||
GameRegistry.registerItem(ammo_rocket_nuclear, ammo_rocket_nuclear.getUnlocalizedName());
|
||||
GameRegistry.registerItem(ammo_rocket_rpc, ammo_rocket_rpc.getUnlocalizedName());
|
||||
@ -4592,7 +4628,10 @@ public class ModItems {
|
||||
GameRegistry.registerItem(ammo_grenade_he, ammo_grenade_he.getUnlocalizedName());
|
||||
GameRegistry.registerItem(ammo_grenade_incendiary, ammo_grenade_incendiary.getUnlocalizedName());
|
||||
GameRegistry.registerItem(ammo_grenade_toxic, ammo_grenade_toxic.getUnlocalizedName());
|
||||
GameRegistry.registerItem(ammo_grenade_concussion, ammo_grenade_concussion.getUnlocalizedName());
|
||||
GameRegistry.registerItem(ammo_grenade_finned, ammo_grenade_finned.getUnlocalizedName());
|
||||
GameRegistry.registerItem(ammo_grenade_sleek, ammo_grenade_sleek.getUnlocalizedName());
|
||||
GameRegistry.registerItem(ammo_grenade_nuclear, ammo_grenade_nuclear.getUnlocalizedName());
|
||||
GameRegistry.registerItem(ammo_folly, ammo_folly.getUnlocalizedName());
|
||||
GameRegistry.registerItem(ammo_folly_nuclear, ammo_folly_nuclear.getUnlocalizedName());
|
||||
GameRegistry.registerItem(ammo_folly_du, ammo_folly_du.getUnlocalizedName());
|
||||
@ -5027,7 +5066,6 @@ public class ModItems {
|
||||
|
||||
//Misile Loot Boxes
|
||||
GameRegistry.registerItem(loot_10, loot_10.getUnlocalizedName());
|
||||
GameRegistry.registerItem(loot_10_long, loot_10_long.getUnlocalizedName());
|
||||
GameRegistry.registerItem(loot_15, loot_15.getUnlocalizedName());
|
||||
GameRegistry.registerItem(loot_misc, loot_misc.getUnlocalizedName());
|
||||
|
||||
|
||||
@ -365,8 +365,6 @@ public class ItemSyringe extends Item {
|
||||
if(nWear < 0)
|
||||
nWear = 0;
|
||||
|
||||
System.out.println(wear + " " + nWear);
|
||||
|
||||
ItemGunBase.setItemWear(gun, nWear);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,12 +1,16 @@
|
||||
package com.hbm.items.tool;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import org.lwjgl.input.Keyboard;
|
||||
|
||||
import com.hbm.blocks.ModBlocks;
|
||||
import com.hbm.handler.FluidTypeHandler.FluidType;
|
||||
import com.hbm.inventory.MachineRecipes;
|
||||
import com.hbm.items.ModItems;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.block.Block;
|
||||
@ -15,6 +19,7 @@ import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.entity.EntityList;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemBlock;
|
||||
import net.minecraft.item.ItemStack;
|
||||
@ -294,16 +299,321 @@ public class ItemAssemblyTemplate extends Item {
|
||||
AMS_LIMITER,
|
||||
AMS_EMITTER,
|
||||
RADAR,
|
||||
FORCEFIELD;
|
||||
FORCEFIELD,
|
||||
|
||||
//private final int value;
|
||||
//private EnumAssemblyTemplate(int value) {
|
||||
// this.value = value;
|
||||
//}
|
||||
MP_T_10_KEROSENE(100, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_10, 1),
|
||||
new ItemStack(ModItems.pipes_steel, 1),
|
||||
new ItemStack(ModItems.ingot_tungsten, 4),
|
||||
new ItemStack(ModItems.plate_steel, 4)),
|
||||
new ItemStack(ModItems.mp_thruster_10_kerosene)),
|
||||
MP_T_10_SOLID(100, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_10, 1),
|
||||
new ItemStack(ModItems.coil_tungsten, 1),
|
||||
new ItemStack(ModItems.ingot_dura_steel, 4),
|
||||
new ItemStack(ModItems.plate_steel, 4)),
|
||||
new ItemStack(ModItems.mp_thruster_10_solid)),
|
||||
MP_T_10_XENON(100, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_10, 1),
|
||||
new ItemStack(ModItems.plate_steel, 4),
|
||||
new ItemStack(ModItems.pipes_steel, 2),
|
||||
new ItemStack(ModItems.arc_electrode, 4)),
|
||||
new ItemStack(ModItems.mp_thruster_10_xenon)),
|
||||
MP_T_15_KEROSENE(500, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_15, 1),
|
||||
new ItemStack(ModItems.pipes_steel, 4),
|
||||
new ItemStack(ModItems.ingot_tungsten, 8),
|
||||
new ItemStack(ModItems.plate_steel, 6),
|
||||
new ItemStack(ModItems.ingot_desh, 4)),
|
||||
new ItemStack(ModItems.mp_thruster_15_kerosene)),
|
||||
MP_T_15_KEROSENE_TWIN(500, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_15, 1),
|
||||
new ItemStack(ModItems.pipes_steel, 2),
|
||||
new ItemStack(ModItems.ingot_tungsten, 4),
|
||||
new ItemStack(ModItems.plate_steel, 6),
|
||||
new ItemStack(ModItems.ingot_desh, 1)),
|
||||
new ItemStack(ModItems.mp_thruster_15_kerosene_dual)),
|
||||
MP_T_15_KEROSENE_TRIPLE(500, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_15, 1),
|
||||
new ItemStack(ModItems.pipes_steel, 3),
|
||||
new ItemStack(ModItems.ingot_tungsten, 6),
|
||||
new ItemStack(ModItems.plate_steel, 6),
|
||||
new ItemStack(ModItems.ingot_desh, 2)),
|
||||
new ItemStack(ModItems.mp_thruster_15_kerosene_triple)),
|
||||
MP_T_15_SOLID(500, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_15, 1),
|
||||
new ItemStack(ModItems.plate_steel, 6),
|
||||
new ItemStack(ModItems.ingot_dura_steel, 6),
|
||||
new ItemStack(ModItems.coil_tungsten, 3)),
|
||||
new ItemStack(ModItems.mp_thruster_15_solid)),
|
||||
MP_T_15_SOLID_HEXDECUPLE(500, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_15, 1),
|
||||
new ItemStack(ModItems.plate_steel, 6),
|
||||
new ItemStack(ModItems.ingot_dura_steel, 12),
|
||||
new ItemStack(ModItems.coil_tungsten, 6)),
|
||||
new ItemStack(ModItems.mp_thruster_15_solid_hexdecuple)),
|
||||
MP_T_15_HYDROGEN(500, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_15, 1),
|
||||
new ItemStack(ModItems.pipes_steel, 4),
|
||||
new ItemStack(ModItems.ingot_tungsten, 8),
|
||||
new ItemStack(ModItems.plate_steel, 6),
|
||||
new ItemStack(ModItems.tank_steel, 1),
|
||||
new ItemStack(ModItems.ingot_desh, 4)),
|
||||
new ItemStack(ModItems.mp_thruster_15_hydrogen)),
|
||||
MP_T_15_HYDROGEN_TWIN(500, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_15, 1),
|
||||
new ItemStack(ModItems.pipes_steel, 2),
|
||||
new ItemStack(ModItems.ingot_tungsten, 4),
|
||||
new ItemStack(ModItems.plate_steel, 6),
|
||||
new ItemStack(ModItems.tank_steel, 1),
|
||||
new ItemStack(ModItems.ingot_desh, 1)),
|
||||
new ItemStack(ModItems.mp_thruster_15_hydrogen)),
|
||||
MP_T_15_BALEFIRE_SHORT(500, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_15, 1),
|
||||
new ItemStack(ModItems.plate_polymer, 8),
|
||||
new ItemStack(ModBlocks.reactor_element, 1),
|
||||
new ItemStack(ModItems.ingot_desh, 8),
|
||||
new ItemStack(ModItems.plate_saturnite, 12),
|
||||
new ItemStack(ModItems.board_copper, 2),
|
||||
new ItemStack(ModItems.ingot_uranium_fuel, 4),
|
||||
new ItemStack(ModItems.pipes_steel, 2)),
|
||||
new ItemStack(ModItems.mp_thruster_15_balefire_short)),
|
||||
MP_T_15_BALEFIRE(500, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_15, 1),
|
||||
new ItemStack(ModItems.plate_polymer, 16),
|
||||
new ItemStack(ModBlocks.reactor_element, 2),
|
||||
new ItemStack(ModItems.ingot_desh, 16),
|
||||
new ItemStack(ModItems.plate_saturnite, 24),
|
||||
new ItemStack(ModItems.board_copper, 4),
|
||||
new ItemStack(ModItems.ingot_uranium_fuel, 8),
|
||||
new ItemStack(ModItems.pipes_steel, 2)),
|
||||
new ItemStack(ModItems.mp_thruster_15_balefire)),
|
||||
MP_T_15_BALEFIRE_LARGE(500, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_15, 1),
|
||||
new ItemStack(ModItems.plate_polymer, 16),
|
||||
new ItemStack(ModBlocks.reactor_element, 2),
|
||||
new ItemStack(ModItems.ingot_desh, 24),
|
||||
new ItemStack(ModItems.plate_saturnite, 32),
|
||||
new ItemStack(ModItems.board_copper, 4),
|
||||
new ItemStack(ModItems.ingot_uranium_fuel, 8),
|
||||
new ItemStack(ModItems.pipes_steel, 2)),
|
||||
new ItemStack(ModItems.mp_thruster_15_balefire_large)),
|
||||
MP_T_20_KEROSENE(500, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_20, 1),
|
||||
new ItemStack(ModItems.pipes_steel, 8),
|
||||
new ItemStack(ModItems.ingot_tungsten, 16),
|
||||
new ItemStack(ModItems.plate_steel, 12),
|
||||
new ItemStack(ModItems.ingot_desh, 8)),
|
||||
new ItemStack(ModItems.mp_thruster_20_kerosene)),
|
||||
MP_T_20_KEROSENE_TWIN(500, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_20, 1),
|
||||
new ItemStack(ModItems.pipes_steel, 4),
|
||||
new ItemStack(ModItems.ingot_tungsten, 8),
|
||||
new ItemStack(ModItems.plate_steel, 6),
|
||||
new ItemStack(ModItems.ingot_desh, 4)),
|
||||
new ItemStack(ModItems.mp_thruster_20_kerosene_dual)),
|
||||
MP_T_20_KEROSENE_TRIPLE(500, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_20, 1),
|
||||
new ItemStack(ModItems.pipes_steel, 6),
|
||||
new ItemStack(ModItems.ingot_tungsten, 12),
|
||||
new ItemStack(ModItems.plate_steel, 8),
|
||||
new ItemStack(ModItems.ingot_desh, 6)),
|
||||
new ItemStack(ModItems.mp_thruster_20_kerosene_triple)),
|
||||
MP_T_20_SOLID(500, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_20, 1),
|
||||
new ItemStack(ModItems.coil_tungsten, 8),
|
||||
new ItemStack(ModItems.ingot_dura_steel, 16),
|
||||
new ItemStack(ModItems.plate_steel, 12)),
|
||||
new ItemStack(ModItems.mp_thruster_20_solid)),
|
||||
|
||||
//public int getValue() {
|
||||
// return value;
|
||||
//}
|
||||
MP_F_10_KEROSENE(100, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_10, 2),
|
||||
new ItemStack(ModBlocks.steel_scaffold, 3),
|
||||
new ItemStack(ModItems.plate_titanium, 12),
|
||||
new ItemStack(ModItems.plate_steel, 3)),
|
||||
new ItemStack(ModItems.mp_fuselage_10_kerosene)),
|
||||
MP_F_10_SOLID(100, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_10, 2),
|
||||
new ItemStack(ModBlocks.steel_scaffold, 3),
|
||||
new ItemStack(ModItems.plate_titanium, 12),
|
||||
new ItemStack(ModItems.plate_aluminium, 3)),
|
||||
new ItemStack(ModItems.mp_fuselage_10_solid)),
|
||||
MP_F_10_XENON(100, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_10, 2),
|
||||
new ItemStack(ModBlocks.steel_scaffold, 3),
|
||||
new ItemStack(ModItems.plate_titanium, 12),
|
||||
new ItemStack(ModItems.board_copper, 3)),
|
||||
new ItemStack(ModItems.mp_fuselage_10_xenon)),
|
||||
MP_F_10_KEROSENE_LONG(200, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_10, 2),
|
||||
new ItemStack(ModBlocks.steel_scaffold, 6),
|
||||
new ItemStack(ModItems.plate_titanium, 24),
|
||||
new ItemStack(ModItems.plate_steel, 6)),
|
||||
new ItemStack(ModItems.mp_fuselage_10_long_kerosene)),
|
||||
MP_F_10_SOLID_LONG(200, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_10, 2),
|
||||
new ItemStack(ModBlocks.steel_scaffold, 6),
|
||||
new ItemStack(ModItems.plate_titanium, 24),
|
||||
new ItemStack(ModItems.plate_aluminium, 6)),
|
||||
new ItemStack(ModItems.mp_fuselage_10_long_kerosene)),
|
||||
MP_F_10_15_KEROSENE(300, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_10, 1),
|
||||
new ItemStack(ModItems.seg_15, 1),
|
||||
new ItemStack(ModBlocks.steel_scaffold, 9),
|
||||
new ItemStack(ModItems.plate_titanium, 36),
|
||||
new ItemStack(ModItems.plate_steel, 9)),
|
||||
new ItemStack(ModItems.mp_fuselage_10_15_kerosene)),
|
||||
MP_F_10_15_SOLID(300, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_10, 1),
|
||||
new ItemStack(ModItems.seg_15, 1),
|
||||
new ItemStack(ModBlocks.steel_scaffold, 9),
|
||||
new ItemStack(ModItems.plate_titanium, 36),
|
||||
new ItemStack(ModItems.plate_aluminium, 9)),
|
||||
new ItemStack(ModItems.mp_fuselage_10_15_solid)),
|
||||
MP_F_10_15_HYDROGEN(300, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_10, 1),
|
||||
new ItemStack(ModItems.seg_15, 1),
|
||||
new ItemStack(ModBlocks.steel_scaffold, 9),
|
||||
new ItemStack(ModItems.plate_titanium, 36),
|
||||
new ItemStack(ModItems.plate_iron, 9)),
|
||||
new ItemStack(ModItems.mp_fuselage_10_15_hydrogen)),
|
||||
MP_F_10_15_BALEFIRE(300, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_10, 1),
|
||||
new ItemStack(ModItems.seg_15, 1),
|
||||
new ItemStack(ModBlocks.steel_scaffold, 9),
|
||||
new ItemStack(ModItems.plate_titanium, 36),
|
||||
new ItemStack(ModItems.plate_saturnite, 9)),
|
||||
new ItemStack(ModItems.mp_fuselage_10_15_balefire)),
|
||||
MP_F_15_KEROSENE(500, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_15, 2),
|
||||
new ItemStack(ModBlocks.steel_scaffold, 12),
|
||||
new ItemStack(ModItems.plate_titanium, 48),
|
||||
new ItemStack(ModItems.plate_steel, 12)),
|
||||
new ItemStack(ModItems.mp_fuselage_15_kerosene)),
|
||||
MP_F_15_SOLID(500, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_15, 2),
|
||||
new ItemStack(ModBlocks.steel_scaffold, 12),
|
||||
new ItemStack(ModItems.plate_titanium, 48),
|
||||
new ItemStack(ModItems.plate_aluminium, 12)),
|
||||
new ItemStack(ModItems.mp_fuselage_15_solid)),
|
||||
MP_F_15_HYDROGEN(500, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_15, 2),
|
||||
new ItemStack(ModBlocks.steel_scaffold, 12),
|
||||
new ItemStack(ModItems.plate_titanium, 48),
|
||||
new ItemStack(ModItems.plate_iron, 12)),
|
||||
new ItemStack(ModItems.mp_fuselage_15_hydrogen)),
|
||||
MP_F_15_BALEFIRE(500, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_15, 2),
|
||||
new ItemStack(ModBlocks.steel_scaffold, 12),
|
||||
new ItemStack(ModItems.plate_titanium, 48),
|
||||
new ItemStack(ModItems.plate_saturnite, 12)),
|
||||
new ItemStack(ModItems.mp_fuselage_15_balefire)),
|
||||
MP_F_15_20_KEROSENE(600, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_15, 1),
|
||||
new ItemStack(ModItems.seg_20, 1),
|
||||
new ItemStack(ModBlocks.steel_scaffold, 16),
|
||||
new ItemStack(ModItems.plate_titanium, 64),
|
||||
new ItemStack(ModItems.plate_steel, 16)),
|
||||
new ItemStack(ModItems.mp_fuselage_15_20_kerosene)),
|
||||
MP_F_15_20_SOLID(600, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_15, 1),
|
||||
new ItemStack(ModItems.seg_20, 1),
|
||||
new ItemStack(ModBlocks.steel_scaffold, 16),
|
||||
new ItemStack(ModItems.plate_titanium, 64),
|
||||
new ItemStack(ModItems.plate_aluminium, 16)),
|
||||
new ItemStack(ModItems.mp_fuselage_15_20_solid)),
|
||||
|
||||
MP_W_10_HE(100, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_10, 1),
|
||||
new ItemStack(ModItems.plate_steel, 6),
|
||||
new ItemStack(Blocks.tnt, 3),
|
||||
new ItemStack(ModItems.circuit_targeting_tier2, 1)),
|
||||
new ItemStack(ModItems.mp_warhead_10_he)),
|
||||
MP_W_10_INC(100, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_10, 1),
|
||||
new ItemStack(ModItems.plate_titanium, 4),
|
||||
new ItemStack(ModItems.powder_fire, 3),
|
||||
new ItemStack(Blocks.tnt, 2),
|
||||
new ItemStack(ModItems.circuit_targeting_tier2, 1)),
|
||||
new ItemStack(ModItems.mp_warhead_10_incendiary)),
|
||||
MP_W_10_BUSTER(100, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_10, 1),
|
||||
new ItemStack(ModItems.plate_titanium, 4),
|
||||
new ItemStack(ModBlocks.det_charge, 1),
|
||||
new ItemStack(ModBlocks.det_cord, 4),
|
||||
new ItemStack(ModItems.board_copper, 4),
|
||||
new ItemStack(ModItems.circuit_targeting_tier3, 1)),
|
||||
new ItemStack(ModItems.mp_warhead_10_buster)),
|
||||
MP_W_10_TATER(200, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_10, 1),
|
||||
new ItemStack(ModItems.plate_steel, 6),
|
||||
new ItemStack(ModItems.ingot_pu239, 1),
|
||||
new ItemStack(Blocks.tnt, 2),
|
||||
new ItemStack(ModItems.circuit_targeting_tier3, 1)),
|
||||
new ItemStack(ModItems.mp_warhead_10_nuclear)),
|
||||
MP_W_10_BORIS(300, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_10, 1),
|
||||
new ItemStack(ModItems.plate_steel, 8),
|
||||
new ItemStack(ModItems.plate_aluminium, 4),
|
||||
new ItemStack(ModItems.ingot_pu239, 2),
|
||||
new ItemStack(ModBlocks.det_charge, 2),
|
||||
new ItemStack(ModItems.circuit_targeting_tier4, 1)),
|
||||
new ItemStack(ModItems.mp_warhead_10_nuclear_large)),
|
||||
MP_W_10_TAINT(100, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_10, 1),
|
||||
new ItemStack(ModItems.plate_steel, 12),
|
||||
new ItemStack(ModBlocks.det_cord, 2),
|
||||
new ItemStack(ModItems.powder_magic, 12),
|
||||
new ItemStack(ModItems.bucket_mud, 1)),
|
||||
new ItemStack(ModItems.mp_warhead_10_taint)),
|
||||
MP_W_10_CLOUD(100, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_10, 1),
|
||||
new ItemStack(ModItems.plate_steel, 12),
|
||||
new ItemStack(ModBlocks.det_cord, 2),
|
||||
new ItemStack(ModItems.grenade_pink_cloud, 2)),
|
||||
new ItemStack(ModItems.mp_warhead_10_cloud)),
|
||||
MP_W_15_HE(200, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_15, 1),
|
||||
new ItemStack(ModItems.plate_steel, 16),
|
||||
new ItemStack(ModBlocks.det_charge, 4),
|
||||
new ItemStack(ModItems.circuit_targeting_tier3, 1)),
|
||||
new ItemStack(ModItems.mp_warhead_15_he)),
|
||||
MP_W_15_INC(200, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_15, 1),
|
||||
new ItemStack(ModItems.plate_steel, 16),
|
||||
new ItemStack(ModBlocks.det_charge, 2),
|
||||
new ItemStack(ModItems.powder_fire, 8),
|
||||
new ItemStack(ModItems.circuit_targeting_tier3, 1)),
|
||||
new ItemStack(ModItems.mp_warhead_15_incendiary)),
|
||||
MP_W_15_BERTHA(500, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_15, 1),
|
||||
new ItemStack(ModItems.plate_steel, 24),
|
||||
new ItemStack(ModItems.plate_titanium, 12),
|
||||
new ItemStack(ModItems.ingot_pu239, 3),
|
||||
new ItemStack(ModBlocks.det_charge, 4),
|
||||
new ItemStack(ModItems.circuit_targeting_tier4, 1)),
|
||||
new ItemStack(ModItems.mp_warhead_15_nuclear)),
|
||||
MP_W_15_NERV(400, Arrays.asList(
|
||||
new ItemStack(ModItems.seg_15, 1),
|
||||
new ItemStack(ModItems.plate_steel, 8),
|
||||
new ItemStack(ModItems.plate_titanium, 20),
|
||||
new ItemStack(ModBlocks.det_charge, 24),
|
||||
new ItemStack(Blocks.redstone_block, 12),
|
||||
new ItemStack(ModItems.powder_magnetized_tungsten, 6),
|
||||
new ItemStack(ModItems.circuit_targeting_tier4, 1)),
|
||||
new ItemStack(ModItems.mp_warhead_15_n2));
|
||||
|
||||
private EnumAssemblyTemplate() { }
|
||||
|
||||
private EnumAssemblyTemplate(int time, List<ItemStack> ingredients, ItemStack output) {
|
||||
this.time = time;
|
||||
this.ingredients = ingredients;
|
||||
this.output = output;
|
||||
}
|
||||
|
||||
public int time = 0;
|
||||
public List<ItemStack> ingredients = null;
|
||||
public ItemStack output = null;
|
||||
|
||||
public static EnumAssemblyTemplate getEnum(int i) {
|
||||
return EnumAssemblyTemplate.values()[i];
|
||||
@ -352,6 +662,9 @@ public class ItemAssemblyTemplate extends Item {
|
||||
int i = stack.getItemDamage();
|
||||
EnumAssemblyTemplate enum1 = EnumAssemblyTemplate.getEnum(i);
|
||||
|
||||
if(enum1.time != 0)
|
||||
return enum1.time;
|
||||
|
||||
switch (enum1) {
|
||||
case IRON_PLATE:
|
||||
return 30;
|
||||
|
||||
@ -79,7 +79,10 @@ public class ItemChemistryTemplate extends Item {
|
||||
DYN_DNT,
|
||||
CORDITE,
|
||||
KEVLAR,
|
||||
CONCRETE;
|
||||
CONCRETE,
|
||||
SOLID_FUEL,
|
||||
ELECTROLYSIS,
|
||||
XENON;
|
||||
|
||||
public static EnumChemistryTemplate getEnum(int i) {
|
||||
if(i < EnumChemistryTemplate.values().length)
|
||||
@ -241,6 +244,12 @@ public class ItemChemistryTemplate extends Item {
|
||||
return 40;
|
||||
case CONCRETE:
|
||||
return 100;
|
||||
case SOLID_FUEL:
|
||||
return 200;
|
||||
case ELECTROLYSIS:
|
||||
return 400;
|
||||
case XENON:
|
||||
return 600;
|
||||
default:
|
||||
return 100;
|
||||
}
|
||||
|
||||
@ -150,6 +150,11 @@ public class ItemAmmo extends Item {
|
||||
list.add(EnumChatFormatting.BLUE + "+ Incendiary explosion");
|
||||
list.add(EnumChatFormatting.RED + "- Increased wear");
|
||||
}
|
||||
if(this == ModItems.ammo_rocket_toxic) {
|
||||
list.add(EnumChatFormatting.BLUE + "+ Chlorine gas");
|
||||
list.add(EnumChatFormatting.RED + "- No explosion");
|
||||
list.add(EnumChatFormatting.RED + "- Decreased projectile speed");
|
||||
}
|
||||
if(this == ModItems.ammo_rocket_sleek) {
|
||||
list.add(EnumChatFormatting.BLUE + "+ Highly increased blast radius");
|
||||
list.add(EnumChatFormatting.BLUE + "+ Not affected by gravity");
|
||||
@ -182,10 +187,23 @@ public class ItemAmmo extends Item {
|
||||
list.add(EnumChatFormatting.BLUE + "+ Chlorine gas");
|
||||
list.add(EnumChatFormatting.RED + "- No explosion");
|
||||
}
|
||||
if(this == ModItems.ammo_grenade_concussion) {
|
||||
list.add(EnumChatFormatting.BLUE + "+ Increased blast radius");
|
||||
list.add(EnumChatFormatting.RED + "- No block damage");
|
||||
}
|
||||
if(this == ModItems.ammo_grenade_finned) {
|
||||
list.add(EnumChatFormatting.BLUE + "+ Decreased gravity");
|
||||
list.add(EnumChatFormatting.RED + "- Decreased blast radius");
|
||||
}
|
||||
if(this == ModItems.ammo_grenade_sleek) {
|
||||
list.add(EnumChatFormatting.BLUE + "+ Increased blast radius");
|
||||
list.add(EnumChatFormatting.YELLOW + "* Jolt");
|
||||
}
|
||||
if(this == ModItems.ammo_grenade_nuclear) {
|
||||
list.add(EnumChatFormatting.BLUE + "+ Nuclear");
|
||||
list.add(EnumChatFormatting.BLUE + "+ Increased range");
|
||||
list.add(EnumChatFormatting.RED + "- Highly increased wear");
|
||||
}
|
||||
|
||||
//FOLLY
|
||||
if(this == ModItems.ammo_folly) {
|
||||
|
||||
@ -219,11 +219,11 @@ public class ItemMissile extends Item {
|
||||
list.add("### I AM ERROR ###");
|
||||
}
|
||||
|
||||
if(this.rarity != null)
|
||||
list.add(EnumChatFormatting.BOLD + "Rarity: " + EnumChatFormatting.GRAY + this.rarity.name);
|
||||
|
||||
if(type != PartType.CHIP)
|
||||
list.add(EnumChatFormatting.BOLD + "Health: " + EnumChatFormatting.GRAY + health + "HP");
|
||||
|
||||
if(this.rarity != null)
|
||||
list.add(EnumChatFormatting.BOLD + "Rarity: " + EnumChatFormatting.GRAY + this.rarity.name);
|
||||
if(author != null)
|
||||
list.add(EnumChatFormatting.WHITE + " by " + author);
|
||||
if(witty != null)
|
||||
@ -288,7 +288,7 @@ public class ItemMissile extends Item {
|
||||
case XENON:
|
||||
return EnumChatFormatting.DARK_PURPLE + "Xenon Gas";
|
||||
case BALEFIRE:
|
||||
return EnumChatFormatting.GREEN + "BF Inferno Fuel / Peroxide";
|
||||
return EnumChatFormatting.GREEN + "BF Rocket Fuel / Peroxide";
|
||||
default:
|
||||
return EnumChatFormatting.BOLD + "N/A";
|
||||
}
|
||||
|
||||
@ -42,6 +42,7 @@ public class ModDamageSource extends DamageSource {
|
||||
public static DamageSource pc = (new DamageSource("pc")).setDamageIsAbsolute().setDamageBypassesArmor();
|
||||
public static DamageSource cloud = (new DamageSource("cloud")).setDamageIsAbsolute().setDamageBypassesArmor();
|
||||
public static DamageSource lead = (new DamageSource("lead")).setDamageIsAbsolute().setDamageBypassesArmor();
|
||||
public static DamageSource enervation = (new DamageSource("enervation")).setDamageIsAbsolute().setDamageBypassesArmor();
|
||||
|
||||
public ModDamageSource(String p_i1566_1_) {
|
||||
super(p_i1566_1_);
|
||||
|
||||
@ -52,6 +52,7 @@ public class ClientProxy extends ServerProxy
|
||||
RenderingRegistry.registerBlockHandler(new RenderTaintBlock());
|
||||
RenderingRegistry.registerBlockHandler(new RenderScaffoldBlock());
|
||||
RenderingRegistry.registerBlockHandler(new RenderTapeBlock());
|
||||
RenderingRegistry.registerBlockHandler(new RenderSteelBeam());
|
||||
|
||||
MinecraftForgeClient.registerItemRenderer(ModItems.assembly_template, new ItemRenderTemplate());
|
||||
MinecraftForgeClient.registerItemRenderer(ModItems.chemistry_template, new ItemRenderTemplate());
|
||||
@ -403,7 +404,7 @@ public class ClientProxy extends ServerProxy
|
||||
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_beam), new ItemRenderDecoBlock());
|
||||
//MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(ModBlocks.steel_scaffold), new ItemRenderDecoBlock());
|
||||
|
||||
RenderingRegistry.registerEntityRenderingHandler(EntityNuclearCreeper.class, new RenderNuclearCreeper());
|
||||
@ -518,6 +519,10 @@ public class ClientProxy extends ServerProxy
|
||||
ParticleContrail contrail = new ParticleContrail(man, world, x, y, z, 0.7F, 0.7F, 0.7F, 1F);
|
||||
Minecraft.getMinecraft().effectRenderer.addEffect(contrail);
|
||||
}
|
||||
if("exBalefire".equals(type)) {
|
||||
ParticleContrail contrail = new ParticleContrail(man, world, x, y, z, 0.2F, 0.7F, 0.2F, 1F);
|
||||
Minecraft.getMinecraft().effectRenderer.addEffect(contrail);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -6,6 +6,7 @@ import com.hbm.items.ModItems;
|
||||
import com.hbm.items.special.ItemBattery;
|
||||
import com.hbm.items.weapon.GunB92Cell;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.enchantment.Enchantment;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.init.Items;
|
||||
@ -869,7 +870,9 @@ public class CraftingManager {
|
||||
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pellet_flechette, 1), new Object[] { " L ", " L ", "LLL", 'L', "nuggetLead" }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.assembly_iron, 16), new Object[] { " I", "GC", " P", 'I', "ingotIron", 'G', ModItems.cordite, 'C', ModItems.casing_357, 'P', ModItems.primer_357 }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.assembly_iron, 16), new Object[] { " I", "GC", " P", 'I', "ingotIron", 'G', ModItems.ballistite, 'C', ModItems.casing_357, 'P', ModItems.primer_357 }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.assembly_steel, 16), new Object[] { " I", "GC", " P", 'I', "ingotLead", 'G', ModItems.cordite, 'C', ModItems.casing_357, 'P', ModItems.primer_357 }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.assembly_steel, 16), new Object[] { " I", "GC", " P", 'I', "ingotLead", 'G', ModItems.ballistite, 'C', ModItems.casing_357, 'P', ModItems.primer_357 }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.assembly_lead, 16), new Object[] { " I", "GC", " P", 'I', ModItems.ingot_u235, 'G', ModItems.cordite, 'C', "paneGlassColorless", 'P', ModItems.primer_357 }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.assembly_lead, 16), new Object[] { " I", "GC", " P", 'I', ModItems.ingot_pu239, 'G', ModItems.cordite, 'C', "paneGlassColorless", 'P', ModItems.primer_357 }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.assembly_lead, 16), new Object[] { " I", "GC", " P", 'I', ModItems.trinitite, 'G', ModItems.cordite, 'C', "paneGlassColorless", 'P', ModItems.primer_357 }));
|
||||
@ -879,15 +882,23 @@ public class CraftingManager {
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.assembly_nightmare, 16), new Object[] { " I", "GC", " P", 'I', "ingotTungsten", 'G', ModItems.cordite, 'C', ModItems.casing_357, 'P', ModItems.primer_357 }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.assembly_desh, 16), new Object[] { " I", "GC", " P", 'I', "ingotDesh", 'G', ModItems.cordite, 'C', ModItems.casing_357, 'P', ModItems.primer_357 }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.assembly_smg, 24), new Object[] { " I", "GC", " P", 'I', "ingotLead", 'G', ModItems.cordite, 'C', ModItems.casing_9, 'P', ModItems.primer_9 }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.assembly_smg, 24), new Object[] { " I", "GC", " P", 'I', "ingotLead", 'G', ModItems.ballistite, 'C', ModItems.casing_9, 'P', ModItems.primer_9 }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.assembly_uzi, 24), new Object[] { " I", "GC", " P", 'I', "ingotIron", 'G', ModItems.cordite, 'C', ModItems.casing_9, 'P', ModItems.primer_9 }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.assembly_uzi, 24), new Object[] { " I", "GC", " P", 'I', "ingotIron", 'G', ModItems.ballistite, 'C', ModItems.casing_9, 'P', ModItems.primer_9 }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.assembly_lacunae, 24), new Object[] { " I", "GC", " P", 'I', "ingotCopper", 'G', ModItems.cordite, 'C', ModItems.casing_9, 'P', ModItems.primer_9 }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.assembly_nopip, 16), new Object[] { " I", "GC", " P", 'I', "ingotLead", 'G', ModItems.cordite, 'C', ModItems.casing_44, 'P', ModItems.primer_44 }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.assembly_nopip, 16), new Object[] { " I", "GC", " P", 'I', "ingotLead", 'G', ModItems.ballistite, 'C', ModItems.casing_44, 'P', ModItems.primer_44 }));
|
||||
//GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.assembly_pip, 16), new Object[] { " I ", "GCM", " P ", 'I', "ingotLead", 'G', ModItems.cordite, 'C', ModItems.casing_44, 'P', ModItems.primer_44, 'M', ModItems.powder_magic }));
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.ammo_12gauge, 8), new Object[] { " I ", "GCL", " P ", 'I', ModItems.pellet_buckshot, 'G', ModItems.cordite, 'C', ModItems.casing_buckshot, 'P', ModItems.primer_buckshot, 'L', ModItems.plate_polymer });
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.ammo_12gauge, 8), new Object[] { " I ", "GCL", " P ", 'I', ModItems.pellet_buckshot, 'G', ModItems.ballistite, 'C', ModItems.casing_buckshot, 'P', ModItems.primer_buckshot, 'L', ModItems.plate_polymer });
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.ammo_20gauge, 8), new Object[] { " I ", "GCL", " P ", 'I', ModItems.pellet_buckshot, 'G', ModItems.cordite, 'C', ModItems.casing_buckshot, 'P', ModItems.primer_buckshot, 'L', "plateCopper" }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.ammo_20gauge, 8), new Object[] { " I ", "GCL", " P ", 'I', ModItems.pellet_buckshot, 'G', ModItems.ballistite, 'C', ModItems.casing_buckshot, 'P', ModItems.primer_buckshot, 'L', "plateCopper" }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.ammo_20gauge_slug, 8), new Object[] { " I ", "GCL", " P ", 'I', "ingotLead", 'G', ModItems.cordite, 'C', ModItems.casing_buckshot, 'P', ModItems.primer_buckshot, 'L', "plateCopper" }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.ammo_20gauge_slug, 8), new Object[] { " I ", "GCL", " P ", 'I', "ingotLead", 'G', ModItems.ballistite, 'C', ModItems.casing_buckshot, 'P', ModItems.primer_buckshot, 'L', "plateCopper" }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.ammo_20gauge_explosive, 8), new Object[] { " I ", "GCL", " P ", 'I', ModItems.pellet_cluster, 'G', ModItems.cordite, 'C', ModItems.casing_buckshot, 'P', ModItems.primer_buckshot, 'L', "plateCopper" }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.ammo_20gauge_explosive, 8), new Object[] { " I ", "GCL", " P ", 'I', ModItems.pellet_cluster, 'G', ModItems.ballistite, 'C', ModItems.casing_buckshot, 'P', ModItems.primer_buckshot, 'L', "plateCopper" }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.ammo_20gauge_flechette, 8), new Object[] { " I ", "GCL", " P ", 'I', ModItems.pellet_flechette, 'G', ModItems.cordite, 'C', ModItems.casing_buckshot, 'P', ModItems.primer_buckshot, 'L', "plateCopper" }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.ammo_20gauge_flechette, 8), new Object[] { " I ", "GCL", " P ", 'I', ModItems.pellet_flechette, 'G', ModItems.ballistite, 'C', ModItems.casing_buckshot, 'P', ModItems.primer_buckshot, 'L', "plateCopper" }));
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.gun_revolver_nightmare2_ammo, 8), new Object[] { "I", "C", "P", 'I', ModItems.powder_power, 'C', ModItems.casing_buckshot, 'P', ModItems.primer_buckshot });
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.assembly_calamity, 8), new Object[] { " I ", "GCG", " P ", 'I', "ingotLead", 'G', ModItems.cordite, 'C', ModItems.casing_50, 'P', ModItems.primer_50 }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.assembly_actionexpress, 8), new Object[] { " I", "GC", " P", 'I', "ingotLead", 'G', ModItems.cordite, 'C', ModItems.casing_50, 'P', ModItems.primer_50 }));
|
||||
@ -921,17 +932,26 @@ public class CraftingManager {
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.ammo_folly_du, 1), new Object[] { " B ", "EEE", " S ", 'B', ModItems.folly_bullet_du, 'E', ModBlocks.det_charge, 'S', ModItems.folly_shell });
|
||||
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.ammo_rocket, 2), new Object[] { " T ", "GCG", " P ", 'T', Blocks.tnt, 'G', Items.gunpowder, 'C', ModItems.casing_50, 'P', ModItems.primer_50 });
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.ammo_rocket, 2), new Object[] { " T ", "GCG", " P ", 'T', Blocks.tnt, 'G', ModItems.ballistite, 'C', ModItems.casing_50, 'P', ModItems.primer_50 });
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.ammo_rocket_he, 1), new Object[] { "G", "R", "G", 'G', Items.gunpowder, 'R', ModItems.ammo_rocket });
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.ammo_rocket_incendiary, 1), new Object[] { "G", "R", 'G', ModItems.powder_fire, 'R', ModItems.ammo_rocket });
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.ammo_rocket_emp, 1), new Object[] { "G", "R", 'G', "dustDiamond", 'R', ModItems.ammo_rocket }));
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.ammo_rocket_shrapnel, 1), new Object[] { "G", "R", 'G', ModItems.pellet_buckshot, 'R', ModItems.ammo_rocket });
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.ammo_rocket_glare, 1), new Object[] { "GGG", "GRG", "GGG", 'G', Items.redstone, 'R', ModItems.ammo_rocket });
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.ammo_rocket_toxic, 1), new Object[] { "G", "R", 'G', ModItems.pellet_gas, 'R', ModItems.ammo_rocket });
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.ammo_rocket_nuclear, 1), new Object[] { " P ", "NRN", " P ", 'P', ModItems.nugget_pu239, 'N', "plateDenseLead", 'R', ModItems.ammo_rocket }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.ammo_rocket_rpc, 2), new Object[] { "BP ", "CBH", " DR", 'B', ModItems.blades_steel, 'P', "plateSteel", 'C', ModItems.canister_fuel, 'H', ModItems.hull_small_steel, 'D', ModItems.piston_selenium, 'R', ModItems.ammo_rocket }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.ammo_rocket_rpc, 2), new Object[] { "BP ", "CBH", " DR", 'B', ModItems.blades_steel, 'P', "plateSteel", 'C', ModItems.canister_petroil, 'H', ModItems.hull_small_steel, 'D', ModItems.piston_selenium, 'R', ModItems.ammo_rocket }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.ammo_rocket_rpc, 2), new Object[] { "BP ", "CBH", " DR", 'B', ModItems.blades_steel, 'P', "plateSteel", 'C', ModItems.canister_biofuel, 'H', ModItems.hull_small_steel, 'D', ModItems.piston_selenium, 'R', ModItems.ammo_rocket }));
|
||||
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.ammo_grenade, 2), new Object[] { " T ", "GCI", " P ", 'T', Items.gunpowder, 'G', ModItems.cordite, 'C', ModItems.casing_50, 'P', ModItems.primer_50, 'I', "plateIron" }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.ammo_grenade, 2), new Object[] { " T ", "GCI", " P ", 'T', Items.gunpowder, 'G', ModItems.ballistite, 'C', ModItems.casing_50, 'P', ModItems.primer_50, 'I', "plateIron" }));
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.ammo_grenade_he, 2), new Object[] { "GIG", 'G', ModItems.ammo_grenade, 'I', Blocks.tnt });
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.ammo_grenade_incendiary, 2), new Object[] { "GIG", 'G', ModItems.ammo_grenade, 'I', ModItems.powder_fire });
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.ammo_grenade_toxic, 2), new Object[] { "GIG", 'G', ModItems.ammo_grenade, 'I', ModItems.powder_poison });
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.ammo_grenade_concussion, 2), new Object[] { "GIG", 'G', ModItems.ammo_grenade, 'I', Items.glowstone_dust });
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.ammo_grenade_nuclear, 2), new Object[] { " P ", "GIG", " P ", 'G', ModItems.ammo_grenade, 'I', ModItems.neutron_reflector, 'P', ModItems.nugget_pu239 });
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.ammo_grenade_finned, 1), new Object[] { "G", "R", 'G', Items.feather, 'R', ModItems.ammo_grenade });
|
||||
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.stamp_357, 1), new Object[] { "RSR", "III", " C ", 'R', "dustRedstone", 'S', ModItems.stamp_iron_flat, 'I', ModItems.plate_polymer, 'C', ModItems.casing_357 }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.stamp_44, 1), new Object[] { "RSR", "III", " C ", 'R', "dustRedstone", 'S', ModItems.stamp_iron_flat, 'I', ModItems.plate_polymer, 'C', ModItems.casing_44 }));
|
||||
@ -1261,7 +1281,9 @@ public class CraftingManager {
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.jetpack_break, 1), new Object[] { "PTP", "SLS", "P P", 'P', "plateSteel", 'T', ModItems.cap_aluminium, 'S', ModItems.coil_tungsten, 'L', ModItems.jetpack_boost }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.jetpack_vector, 1), new Object[] { "PTP", "SLS", "W W", 'P', "plateTitanium", 'T', ModItems.circuit_copper, 'S', ModItems.motor, 'L', ModItems.jetpack_fly, 'W', ModItems.thruster_small }));
|
||||
|
||||
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 ItemStack(ModItems.chainsaw, 1), new Object[] { " H", "BBP", " C", 'H', ModItems.hull_small_steel, 'B', ModItems.blades_steel, 'P', ModItems.piston_selenium, 'C', ModItems.canister_fuel });
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.chainsaw, 1), new Object[] { " H", "BBP", " C", 'H', ModItems.hull_small_steel, 'B', ModItems.blades_steel, 'P', ModItems.piston_selenium, 'C', ModItems.canister_petroil });
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.chainsaw, 1), new Object[] { " H", "BBP", " C", 'H', ModItems.hull_small_steel, 'B', ModItems.blades_steel, 'P', ModItems.piston_selenium, 'C', ModItems.canister_biofuel });
|
||||
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.wiring_red_copper, 1), new Object[] { "PPP", "PIP", "PPP", 'P', "plateSteel", 'I', "ingotSteel" }));
|
||||
|
||||
@ -1355,6 +1377,7 @@ public class CraftingManager {
|
||||
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 ShapelessOreRecipe(new ItemStack(ModItems.ballistite, 3), new Object[] { Items.gunpowder, "dustSalpeter", Items.sugar }));
|
||||
//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" }));
|
||||
@ -1495,7 +1518,7 @@ public class CraftingManager {
|
||||
GameRegistry.addShapelessRecipe(new ItemStack(ModItems.bottle_sparkle), new Object[] { ModItems.bottle_nuka, Items.carrot, Items.gold_nugget });
|
||||
GameRegistry.addShapelessRecipe(new ItemStack(ModItems.bottle_rad), new Object[] { ModItems.bottle_quantum, Items.carrot, Items.gold_nugget });
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.grenade_nuke), new Object[] { "CGC", "CGC", "PAP", 'C', ModBlocks.det_charge, 'G', ModItems.grenade_mk2, 'P', "plateAdvanced", 'A', Blocks.anvil }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.radiobox), new Object[] { "-C-", "8OI", "EUE", '-', ModItems.plate_polymer, 'C', ModItems.circuit_targeting_tier4, '8', ModItems.coil_gold, 'O', ModItems.pellet_rtg, 'I', ModItems.fuse, 'E', "plateSteel", 'U', ModItems.rtg_unit }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.radiobox), new Object[] { "PSP", "SCS", "PSP", 'P', "plateSteel", 'S', ModItems.ingot_starmetal, 'C', ModItems.fusion_core }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.radiorec), new Object[] { " W", "PCP", "PIP", 'W', ModItems.wire_copper, 'P', "plateSteel", 'C', ModItems.circuit_red_copper, 'I', "ingotPolymer" }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.jackt), new Object[] { "S S", "LIL", "LIL", 'S', "plateSteel", 'L', Items.leather, 'I', ModItems.plate_polymer }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.jackt2), new Object[] { "S S", "LIL", "III", 'S', "plateSteel", 'L', Items.leather, 'I', ModItems.plate_polymer }));
|
||||
@ -1571,7 +1594,7 @@ public class CraftingManager {
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.struct_launcher, 1), new Object[] { "PPP", "SDS", "CCC", 'P', "plateSteel", 'S', ModBlocks.steel_scaffold, 'D', ModItems.pipes_steel, 'C', ModBlocks.concrete }));
|
||||
GameRegistry.addRecipe(new ItemStack(ModBlocks.struct_scaffold, 1), new Object[] { "SSS", "DCD", "SSS", 'S', ModBlocks.steel_scaffold, 'D', ModBlocks.fluid_duct, 'C', ModBlocks.red_cable });
|
||||
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mp_thruster_10_kerosene, 1), new Object[] { "PSM", "TPT", "T T", 'P', ModItems.pipes_steel, 'S', ModBlocks.steel_scaffold, 'M', ModItems.motor, 'T', "ingotTungsten" }));
|
||||
/*GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mp_thruster_10_kerosene, 1), new Object[] { "PSM", "TPT", "T T", 'P', ModItems.pipes_steel, 'S', ModBlocks.steel_scaffold, 'M', ModItems.motor, 'T', "ingotTungsten" }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mp_thruster_10_solid, 1), new Object[] { "PSM", "DPD", "T T", 'P', ModItems.pipes_steel, 'S', ModBlocks.steel_scaffold, 'M', ModItems.motor, 'T', "ingotSteel", 'D', "plateTitanium" }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mp_thruster_10_xenon, 1), new Object[] { "PSM", "DPD", "T T", 'P', ModItems.pipes_steel, 'S', ModBlocks.steel_scaffold, 'M', ModItems.motor, 'T', "ingotSteel", 'D', ModItems.arc_electrode }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mp_thruster_15_kerosene_dual, 1), new Object[] { "SPS", "IPI", "T T", 'S', ModBlocks.steel_scaffold, 'P', ModItems.pipes_steel, 'I', "ingotSteel", 'T', ModItems.mp_thruster_10_kerosene }));
|
||||
@ -1583,7 +1606,7 @@ public class CraftingManager {
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mp_thruster_15_hydrogen_dual, 1), new Object[] { "SPS", "IDI", "T T", 'S', ModBlocks.steel_scaffold, 'P', ModItems.pipes_steel, 'D', ModItems.tank_steel, 'I', "ingotSteel", 'T', ModItems.mp_thruster_10_kerosene }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mp_thruster_15_balefire_short, 1), new Object[] { "SMS", "PTP", "I I", 'S', ModBlocks.steel_scaffold, 'M', ModItems.motor, 'P', ModItems.board_copper, 'T', ModItems.tank_steel, 'I', "ingotTungsten" }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mp_thruster_15_balefire, 1), new Object[] { "SMS", "PTP", "I I", 'S', ModBlocks.steel_scaffold, 'M', ModItems.motor, 'P', ModItems.board_copper, 'T', ModBlocks.reactor_element, 'I', "ingotTungsten" }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mp_thruster_15_balefire_large, 1), new Object[] { "SMS", "PTP", "I I", 'S', ModBlocks.steel_scaffold, 'M', ModItems.motor, 'P', "blockDesh", 'T', ModBlocks.reactor_element, 'I', ModBlocks.brick_compound }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mp_thruster_15_balefire_large, 1), new Object[] { "SMS", "PTP", "I I", 'S', ModBlocks.steel_scaffold, 'M', ModItems.motor, 'P', "blockDesh", 'T', ModBlocks.reactor_element, 'I', ModBlocks.brick_compound }));*/
|
||||
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mp_stability_10_flat, 1), new Object[] { "PSP", "P P", 'P', "plateSteel", 'S', ModBlocks.steel_scaffold }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mp_stability_10_cruise, 1), new Object[] { "ASA", " S ", "PSP", 'A', "plateTitanium", 'P', "plateSteel", 'S', ModBlocks.steel_scaffold }));
|
||||
@ -1591,7 +1614,7 @@ public class CraftingManager {
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mp_stability_15_flat, 1), new Object[] { "ASA", "PSP", 'A', "plateAluminum", 'P', "plateSteel", 'S', ModBlocks.steel_scaffold }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mp_stability_15_thin, 1), new Object[] { "A A", "PSP", "PSP", 'A', "plateAluminum", 'P', "plateSteel", 'S', ModBlocks.steel_scaffold }));
|
||||
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mp_fuselage_10_kerosene, 1), new Object[] { "STS", "ATA", "STS", 'S', "plateSteel", 'T', ModItems.tank_steel, 'A', "plateTitanium" }));
|
||||
/*GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mp_fuselage_10_kerosene, 1), new Object[] { "STS", "ATA", "STS", 'S', "plateSteel", 'T', ModItems.tank_steel, 'A', "plateTitanium" }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mp_fuselage_10_solid, 1), new Object[] { "STS", "ATA", "STS", 'S', "plateAluminum", 'T', ModItems.tank_steel, 'A', "plateCopper" }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mp_fuselage_10_xenon, 1), new Object[] { "STS", "ATA", "STS", 'S', "plateSteel", 'T', ModItems.tank_steel, 'A', "plateAdvanced" }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mp_fuselage_10_long_kerosene, 1), new Object[] { "F ", " F", 'F', ModItems.mp_fuselage_10_kerosene }));
|
||||
@ -1603,7 +1626,7 @@ public class CraftingManager {
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mp_fuselage_15_kerosene, 1), new Object[] { "SP ", "PFP", " PL", 'S', ModBlocks.steel_scaffold, 'P', "plateSteel", 'F', ModItems.mp_fuselage_10_long_kerosene, 'L', ModItems.mp_fuselage_10_15_kerosene }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mp_fuselage_15_solid, 1), new Object[] { "SP ", "PFP", " PL", 'S', ModBlocks.steel_scaffold, 'P', "plateAluminum", 'F', ModItems.mp_fuselage_10_long_solid, 'L', ModItems.mp_fuselage_10_15_solid }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mp_fuselage_15_hydrogen, 1), new Object[] { "SP ", "PFP", " PL", 'S', ModBlocks.steel_scaffold, 'P', "plateTitanium", 'F', ModItems.mp_fuselage_10_long_kerosene, 'L', ModItems.mp_fuselage_10_15_hydrogen }));
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.mp_fuselage_15_balefire, 1), new Object[] { "SP ", "PFP", " PL", 'S', ModBlocks.steel_scaffold, 'P', ModItems.plate_saturnite, 'F', ModItems.mp_fuselage_10_long_solid, 'L', ModItems.mp_fuselage_10_15_balefire });
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.mp_fuselage_15_balefire, 1), new Object[] { "SP ", "PFP", " PL", 'S', ModBlocks.steel_scaffold, 'P', ModItems.plate_saturnite, 'F', ModItems.mp_fuselage_10_long_solid, 'L', ModItems.mp_fuselage_10_15_balefire });*/
|
||||
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mp_warhead_10_he, 1), new Object[] { " P ", "PTP", "TST", 'P', "plateSteel", 'T', Blocks.tnt, 'S', ModBlocks.steel_scaffold }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mp_warhead_10_incendiary, 1), new Object[] { "PIP", "ITI", "TST", 'P', "plateTitanium", 'T', Blocks.tnt, 'S', ModBlocks.steel_scaffold, 'I', ModItems.powder_fire }));
|
||||
@ -1622,6 +1645,10 @@ public class CraftingManager {
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.mp_chip_4, 1), new Object[] { "P", "C", "S", 'P', ModItems.plate_polymer, 'C', ModItems.circuit_targeting_tier4, 'S', ModBlocks.steel_scaffold });
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.mp_chip_5, 1), new Object[] { "P", "C", "S", 'P', ModItems.plate_polymer, 'C', ModItems.circuit_targeting_tier5, 'S', ModBlocks.steel_scaffold });
|
||||
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.seg_10, 1), new Object[] { "P", "S", "B", 'P', "plateAluminum", 'S', ModBlocks.steel_scaffold, 'B', ModBlocks.steel_beam }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.seg_15, 1), new Object[] { "PP", "SS", "BB", 'P', "plateTitanium", 'S', ModBlocks.steel_scaffold, 'B', ModBlocks.steel_beam }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.seg_20, 1), new Object[] { "PGP", "SSS", "BBB", 'P', "plateSteel", 'G', "plateGold", 'S', ModBlocks.steel_scaffold, 'B', ModBlocks.steel_beam }));
|
||||
|
||||
GameRegistry.addRecipe(new ItemStack(ModBlocks.struct_launcher_core, 1), new Object[] { "SCS", "SIS", "BEB", 'S', ModBlocks.steel_scaffold, 'I', Blocks.iron_bars, 'C', ModItems.circuit_targeting_tier3, 'B', ModBlocks.struct_launcher, 'E', ModBlocks.machine_battery });
|
||||
GameRegistry.addRecipe(new ItemStack(ModBlocks.struct_launcher_core_large, 1), new Object[] { "SIS", "ICI", "BEB", 'S', ModItems.circuit_red_copper, 'I', Blocks.iron_bars, 'C', ModItems.circuit_targeting_tier4, 'B', ModBlocks.struct_launcher, 'E', ModBlocks.machine_battery });
|
||||
|
||||
@ -1643,6 +1670,15 @@ public class CraftingManager {
|
||||
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_meteor_uranium), new ItemStack(ModItems.ingot_uranium, 2), 12.0F);
|
||||
GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_meteor_thorium), new ItemStack(ModItems.ingot_th232, 2), 6.0F);
|
||||
GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_meteor_titanium), new ItemStack(ModItems.ingot_titanium, 3), 6.0F);
|
||||
GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_meteor_copper), new ItemStack(ModItems.ingot_copper, 3), 5.0F);
|
||||
GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_meteor_tungsten), new ItemStack(ModItems.ingot_tungsten, 3), 12.0F);
|
||||
GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_meteor_aluminium), new ItemStack(ModItems.ingot_aluminium, 3), 5.0F);
|
||||
GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_meteor_lead), new ItemStack(ModItems.ingot_lead, 3), 6.0F);
|
||||
GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_meteor_lithium), new ItemStack(ModItems.lithium), 20.0F);
|
||||
GameRegistry.addSmelting(Item.getItemFromBlock(ModBlocks.ore_meteor_starmetal), new ItemStack(ModItems.ingot_starmetal), 50.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);
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
package com.hbm.main;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockDispenser;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.dispenser.BehaviorProjectileDispense;
|
||||
@ -530,6 +531,7 @@ public class MainRegistry
|
||||
GameRegistry.registerTileEntity(TileEntityLaunchTable.class, "tileentity_large_launch_table");
|
||||
GameRegistry.registerTileEntity(TileEntityCompactLauncher.class, "tileentity_small_launcher");
|
||||
GameRegistry.registerTileEntity(TileEntityMultiblock.class, "tileentity_multi_core");
|
||||
GameRegistry.registerTileEntity(TileEntityChlorineSeal.class, "tileentity_chlorine_seal");
|
||||
|
||||
EntityRegistry.registerModEntity(EntityRocket.class, "entity_rocket", 0, this, 250, 1, true);
|
||||
EntityRegistry.registerModEntity(EntityNukeExplosion.class, "entity_nuke_explosion", 1, this, 250, 1, true);
|
||||
@ -671,6 +673,7 @@ public class MainRegistry
|
||||
EntityRegistry.registerModEntity(EntityWaterSplash.class, "entity_water_splash", 137, this, 1000, 1, true);
|
||||
EntityRegistry.registerModEntity(EntityBobmazon.class, "entity_bobmazon_delivery", 138, this, 1000, 1, true);
|
||||
EntityRegistry.registerModEntity(EntityMissileCustom.class, "entity_custom_missile", 139, this, 1000, 1, true);
|
||||
EntityRegistry.registerModEntity(EntityBalefire.class, "entity_balefire", 140, this, 1000, 1, true);
|
||||
|
||||
EntityRegistry.registerGlobalEntityID(EntityNuclearCreeper.class, "entity_mob_nuclear_creeper", EntityRegistry.findGlobalUniqueEntityId(), 0x204131, 0x75CE00);
|
||||
EntityRegistry.registerGlobalEntityID(EntityTaintedCreeper.class, "entity_mob_tainted_creeper", EntityRegistry.findGlobalUniqueEntityId(), 0x813b9b, 0xd71fdd);
|
||||
@ -1086,6 +1089,7 @@ public class MainRegistry
|
||||
OreDictionary.registerOre("ingotSaturnite", ModItems.ingot_saturnite);
|
||||
OreDictionary.registerOre("ingotEuphemium", ModItems.ingot_euphemium);
|
||||
OreDictionary.registerOre("ingotDineutronium", ModItems.ingot_dineutronium);
|
||||
OreDictionary.registerOre("ingotStarmetal", ModItems.ingot_starmetal);
|
||||
OreDictionary.registerOre("dustFluorite", ModItems.fluorite);
|
||||
OreDictionary.registerOre("nuggetLead", ModItems.nugget_lead);
|
||||
OreDictionary.registerOre("nuggetUranium", ModItems.nugget_uranium);
|
||||
@ -1219,6 +1223,17 @@ public class MainRegistry
|
||||
OreDictionary.registerOre("oreSulfur", ModBlocks.ore_nether_sulfur);
|
||||
OreDictionary.registerOre("oreSchrabidium", ModBlocks.ore_nether_schrabidium);
|
||||
|
||||
OreDictionary.registerOre("oreUranium", ModBlocks.ore_meteor_uranium);
|
||||
OreDictionary.registerOre("oreThorium", ModBlocks.ore_meteor_thorium);
|
||||
OreDictionary.registerOre("oreTitanium", ModBlocks.ore_meteor_titanium);
|
||||
OreDictionary.registerOre("oreSulfur", ModBlocks.ore_meteor_sulfur);
|
||||
OreDictionary.registerOre("oreCopper", ModBlocks.ore_meteor_copper);
|
||||
OreDictionary.registerOre("oreTungsten", ModBlocks.ore_meteor_tungsten);
|
||||
OreDictionary.registerOre("oreAluminum", ModBlocks.ore_meteor_aluminium);
|
||||
OreDictionary.registerOre("oreLead", ModBlocks.ore_meteor_lead);
|
||||
OreDictionary.registerOre("oreLithium", ModBlocks.ore_meteor_lithium);
|
||||
OreDictionary.registerOre("oreStarmetal", ModBlocks.ore_meteor_starmetal);
|
||||
|
||||
OreDictionary.registerOre("blockThorium", ModBlocks.block_thorium);
|
||||
OreDictionary.registerOre("blockUranium", ModBlocks.block_uranium);
|
||||
OreDictionary.registerOre("blockTitanium", ModBlocks.block_titanium);
|
||||
@ -1659,13 +1674,13 @@ public class MainRegistry
|
||||
geyserVapor = pGV.getInt();
|
||||
|
||||
final String CATEGORY_METEOR = "05_meteors";
|
||||
Property propMeteorStrikeChance = config.get(CATEGORY_METEOR, "5.00_meteorStrikeChance", 20 * 60 * 180);
|
||||
Property propMeteorStrikeChance = config.get(CATEGORY_METEOR, "5.00_meteorStrikeChance", 20 * 60 * 60 * 5);
|
||||
propMeteorStrikeChance.comment = "The probability of a meteor spawning (an average of once every nTH ticks)";
|
||||
meteorStrikeChance = propMeteorStrikeChance.getInt();
|
||||
Property propMeteorShowerChance = config.get(CATEGORY_METEOR, "5.01_meteorShowerChance", 20 * 60 * 5);
|
||||
Property propMeteorShowerChance = config.get(CATEGORY_METEOR, "5.01_meteorShowerChance", 20 * 60 * 15);
|
||||
propMeteorShowerChance.comment = "The probability of a meteor spawning during meteor shower (an average of once every nTH ticks)";
|
||||
meteorShowerChance = propMeteorShowerChance.getInt();
|
||||
Property propMeteorShowerDuration = config.get(CATEGORY_METEOR, "5.02_meteorShowerDuration", 6000);
|
||||
Property propMeteorShowerDuration = config.get(CATEGORY_METEOR, "5.02_meteorShowerDuration", 20 * 60 * 30);
|
||||
propMeteorShowerDuration.comment = "Max duration of meteor shower in ticks";
|
||||
meteorShowerDuration = propMeteorShowerDuration.getInt();
|
||||
|
||||
|
||||
@ -70,6 +70,7 @@ public class NEIConfig implements IConfigureNEI {
|
||||
//API.hideItem(new ItemStack(ModItems.watch));
|
||||
//API.hideItem(new ItemStack(ModItems.rod_quad_euphemium));
|
||||
//API.hideItem(new ItemStack(ModItems.rod_euphemium));
|
||||
API.hideItem(new ItemStack(ModItems.bobmazon_hidden));
|
||||
if(MainRegistry.polaroidID != 11) {
|
||||
API.hideItem(new ItemStack(ModItems.book_secret));
|
||||
API.hideItem(new ItemStack(ModItems.book_of_));
|
||||
|
||||
@ -350,6 +350,7 @@ public class ResourceManager {
|
||||
public static final IModelCustom mp_t_20_kerosene_dual = AdvancedModelLoader.loadModel(new ResourceLocation(RefStrings.MODID, "models/missile_parts/mp_t_20_kerosene_dual.obj"));
|
||||
public static final IModelCustom mp_t_20_kerosene_triple = AdvancedModelLoader.loadModel(new ResourceLocation(RefStrings.MODID, "models/missile_parts/mp_t_20_kerosene_triple.obj"));
|
||||
public static final IModelCustom mp_t_20_solid = AdvancedModelLoader.loadModel(new ResourceLocation(RefStrings.MODID, "models/missile_parts/mp_t_20_solid.obj"));
|
||||
public static final IModelCustom mp_t_20_solid_multi = AdvancedModelLoader.loadModel(new ResourceLocation(RefStrings.MODID, "models/missile_parts/mp_t_20_solid_multi.obj"));
|
||||
|
||||
public static final IModelCustom mp_s_10_flat = AdvancedModelLoader.loadModel(new ResourceLocation(RefStrings.MODID, "models/missile_parts/mp_s_10_flat.obj"));
|
||||
public static final IModelCustom mp_s_10_cruise = AdvancedModelLoader.loadModel(new ResourceLocation(RefStrings.MODID, "models/missile_parts/mp_s_10_cruise.obj"));
|
||||
@ -383,6 +384,10 @@ public class ResourceManager {
|
||||
|
||||
////Texture Entities
|
||||
|
||||
//Blast
|
||||
public static final ResourceLocation fireball = new ResourceLocation(RefStrings.MODID, "textures/models/fireball.png");
|
||||
public static final ResourceLocation balefire = new ResourceLocation(RefStrings.MODID, "textures/models/balefire.png");
|
||||
|
||||
//Boxcar
|
||||
public static final ResourceLocation boxcar_tex = new ResourceLocation(RefStrings.MODID, "textures/models/boxcar.png");
|
||||
public static final ResourceLocation duchessgambit_tex = new ResourceLocation(RefStrings.MODID, "textures/models/duchessgambit.png");
|
||||
@ -471,6 +476,8 @@ public class ResourceManager {
|
||||
public static final ResourceLocation mp_t_20_kerosene_tex = new ResourceLocation(RefStrings.MODID, "textures/models/missile_parts/thrusters/mp_t_20_kerosene.png");
|
||||
public static final ResourceLocation mp_t_20_kerosene_dual_tex = new ResourceLocation(RefStrings.MODID, "textures/models/missile_parts/thrusters/mp_t_20_kerosene_dual.png");
|
||||
public static final ResourceLocation mp_t_20_solid_tex = new ResourceLocation(RefStrings.MODID, "textures/models/missile_parts/thrusters/mp_t_20_solid.png");
|
||||
public static final ResourceLocation mp_t_20_solid_multi_tex = new ResourceLocation(RefStrings.MODID, "textures/models/missile_parts/thrusters/mp_t_20_solid_multi.png");
|
||||
public static final ResourceLocation mp_t_20_solid_multier_tex = new ResourceLocation(RefStrings.MODID, "textures/models/missile_parts/thrusters/mp_t_20_solid_multier.png");
|
||||
|
||||
public static final ResourceLocation mp_s_10_flat_tex = new ResourceLocation(RefStrings.MODID, "textures/models/missile_parts/stability/mp_s_10_flat.png");
|
||||
public static final ResourceLocation mp_s_10_cruise_tex = new ResourceLocation(RefStrings.MODID, "textures/models/missile_parts/stability/mp_s_10_cruise.png");
|
||||
@ -569,6 +576,7 @@ public class ResourceManager {
|
||||
public static final ResourceLocation mp_w_10_nuclear_tex = new ResourceLocation(RefStrings.MODID, "textures/models/missile_parts/warheads/mp_w_10_nuclear.png");
|
||||
public static final ResourceLocation mp_w_10_nuclear_large_tex = new ResourceLocation(RefStrings.MODID, "textures/models/missile_parts/warheads/mp_w_10_nuclear_large.png");
|
||||
public static final ResourceLocation mp_w_10_taint_tex = new ResourceLocation(RefStrings.MODID, "textures/models/missile_parts/warheads/mp_w_10_taint.png");
|
||||
public static final ResourceLocation mp_w_10_cloud_tex = new ResourceLocation(RefStrings.MODID, "textures/models/missile_parts/warheads/mp_w_10_cloud.png");
|
||||
public static final ResourceLocation mp_w_15_he_tex = new ResourceLocation(RefStrings.MODID, "textures/models/missile_parts/warheads/mp_w_15_he.png");
|
||||
public static final ResourceLocation mp_w_15_incendiary_tex = new ResourceLocation(RefStrings.MODID, "textures/models/missile_parts/warheads/mp_w_15_incendiary.png");
|
||||
public static final ResourceLocation mp_w_15_nuclear_tex = new ResourceLocation(RefStrings.MODID, "textures/models/missile_parts/warheads/mp_w_15_nuclear.png");
|
||||
@ -579,5 +587,6 @@ public class ResourceManager {
|
||||
//ISBRHs
|
||||
public static final IModelCustom scaffold = AdvancedModelLoader.loadModel(new ResourceLocation(RefStrings.MODID, "models/scaffold.obj"));
|
||||
public static final IModelCustom taperecorder = AdvancedModelLoader.loadModel(new ResourceLocation(RefStrings.MODID, "models/taperecorder.obj"));
|
||||
public static final IModelCustom beam = AdvancedModelLoader.loadModel(new ResourceLocation(RefStrings.MODID, "models/beam.obj"));
|
||||
|
||||
}
|
||||
|
||||
@ -106,6 +106,7 @@ public class ItemBobmazonPacket implements IMessage {
|
||||
if(countCaps(p) >= m.cost) {
|
||||
|
||||
payCaps(p, m.cost);
|
||||
p.inventoryContainer.detectAndSendChanges();
|
||||
|
||||
Random rand = world.rand;
|
||||
EntityBobmazon bob = new EntityBobmazon(world);
|
||||
@ -158,8 +159,6 @@ public class ItemBobmazonPacket implements IMessage {
|
||||
|
||||
if(price == 0)
|
||||
return;
|
||||
|
||||
int count = 0;
|
||||
|
||||
for(int i = 0; i < player.inventory.getSizeInventory(); i++) {
|
||||
|
||||
@ -178,12 +177,13 @@ public class ItemBobmazonPacket implements IMessage {
|
||||
item == ModItems.cap_star ||
|
||||
item == ModItems.cap_sunset) {
|
||||
|
||||
for(int j = 0; j < stack.stackSize; j++) {
|
||||
int size = stack.stackSize;
|
||||
for(int j = 0; j < size; j++) {
|
||||
|
||||
player.inventory.decrStackSize(i, 1);
|
||||
count++;
|
||||
price--;
|
||||
|
||||
if(count == price)
|
||||
if(price == 0)
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
68
com/hbm/render/block/RenderSteelBeam.java
Normal file
@ -0,0 +1,68 @@
|
||||
package com.hbm.render.block;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import com.hbm.main.ResourceManager;
|
||||
|
||||
import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.client.renderer.RenderBlocks;
|
||||
import net.minecraft.client.renderer.Tessellator;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraftforge.client.model.obj.WavefrontObject;
|
||||
|
||||
public class RenderSteelBeam implements ISimpleBlockRenderingHandler {
|
||||
|
||||
@Override
|
||||
public void renderInventoryBlock(Block block, int metadata, int modelId, RenderBlocks renderer) {
|
||||
|
||||
GL11.glPushMatrix();
|
||||
Tessellator tessellator = Tessellator.instance;
|
||||
IIcon iicon = block.getIcon(0, 0);
|
||||
tessellator.setColorOpaque_F(1, 1, 1);
|
||||
|
||||
if (renderer.hasOverrideBlockTexture())
|
||||
{
|
||||
iicon = renderer.overrideBlockTexture;
|
||||
}
|
||||
|
||||
GL11.glTranslated(0, -0.5, 0);
|
||||
tessellator.startDrawingQuads();
|
||||
ObjUtil.renderWithIcon((WavefrontObject) ResourceManager.beam, iicon, tessellator, 0, false);
|
||||
tessellator.draw();
|
||||
|
||||
GL11.glPopMatrix();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block block, int modelId, RenderBlocks renderer) {
|
||||
|
||||
Tessellator tessellator = Tessellator.instance;
|
||||
IIcon iicon = block.getIcon(0, world.getBlockMetadata(x, y, z));
|
||||
|
||||
tessellator.setBrightness(block.getMixedBrightnessForBlock(world, x, y, z));
|
||||
tessellator.setColorOpaque_F(1, 1, 1);
|
||||
|
||||
if (renderer.hasOverrideBlockTexture())
|
||||
{
|
||||
iicon = renderer.overrideBlockTexture;
|
||||
}
|
||||
|
||||
tessellator.addTranslation(x + 0.5F, y, z + 0.5F);
|
||||
ObjUtil.renderWithIcon((WavefrontObject) ResourceManager.beam, iicon, tessellator, 0, true);
|
||||
tessellator.addTranslation(-x - 0.5F, -y, -z - 0.5F);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean shouldRender3DInInventory(int modelId) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getRenderId() {
|
||||
return 334080;
|
||||
}
|
||||
}
|
||||
@ -22,7 +22,6 @@ public class RenderSmallNukeMK3 extends Render {
|
||||
//what the fuck is all this, i thought you made the resource manager
|
||||
private static final ResourceLocation objTesterModelRL = new ResourceLocation(/*"/assets/" + */RefStrings.MODID, "models/mush.hmf");
|
||||
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;
|
||||
@ -35,7 +34,6 @@ public class RenderSmallNukeMK3 extends Render {
|
||||
//can't you just instantiate the AMLs as a whole like a normal person smh
|
||||
public RenderSmallNukeMK3() {
|
||||
blastModel = AdvancedModelLoader.loadModel(objTesterModelRL);
|
||||
blastTexture = new ResourceLocation(RefStrings.MODID, "textures/models/fireball.png");
|
||||
ringModel = AdvancedModelLoader.loadModel(ringModelRL);
|
||||
ringTexture = new ResourceLocation(RefStrings.MODID, "textures/models/Ring2.png");
|
||||
ringBigModel = AdvancedModelLoader.loadModel(ringBigModelRL);
|
||||
@ -49,7 +47,7 @@ public class RenderSmallNukeMK3 extends Render {
|
||||
render((EntityNukeCloudSmall)p_76986_1_, p_76986_2_, p_76986_4_, p_76986_6_, p_76986_8_, p_76986_9_);
|
||||
}
|
||||
|
||||
//coreographic analysis of a nuclear blast
|
||||
//choreographic analysis of a nuclear blast
|
||||
//by VeeTee McFuckface
|
||||
|
||||
//shockwave: rapidly expanding sphere of compressed air
|
||||
@ -123,7 +121,11 @@ public class RenderSmallNukeMK3 extends Render {
|
||||
|
||||
if(age >= 50 && age < 150) {
|
||||
GL11.glPushMatrix();
|
||||
GL11.glColor4f(0.4F, 0.15F, 0.0F, 0.9F);
|
||||
|
||||
if(cloud.getDataWatcher().getWatchableObjectByte(19) == 1)
|
||||
GL11.glColor4f(0.2F, 0.7F, 0.0F, 0.9F);
|
||||
else
|
||||
GL11.glColor4f(0.4F, 0.15F, 0.0F, 0.9F);
|
||||
|
||||
GL11.glDisable(GL11.GL_TEXTURE_2D);
|
||||
GL11.glEnable(GL11.GL_BLEND);
|
||||
@ -145,7 +147,7 @@ public class RenderSmallNukeMK3 extends Render {
|
||||
|
||||
if(age >= 150) {
|
||||
GL11.glPushMatrix();
|
||||
bindTexture(blastTexture);
|
||||
bindTexture(getEntityTexture(cloud));
|
||||
GL11.glTranslatef(0, -50, 0);
|
||||
GL11.glScalef(6, 6, 6);
|
||||
GL11.glDisable(GL11.GL_CULL_FACE);
|
||||
@ -212,8 +214,12 @@ public class RenderSmallNukeMK3 extends Render {
|
||||
|
||||
//there, fixed it ~bob
|
||||
@Override
|
||||
protected ResourceLocation getEntityTexture(Entity p_110775_1_) {
|
||||
return blastTexture;
|
||||
protected ResourceLocation getEntityTexture(Entity ent) {
|
||||
|
||||
if(ent.getDataWatcher().getWatchableObjectByte(19) == 1)
|
||||
return ResourceManager.balefire;
|
||||
|
||||
return ResourceManager.fireball;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -59,7 +59,11 @@ public class ItemRenderRpg implements IItemRenderer {
|
||||
|
||||
if(item.getItem() == ModItems.gun_panzerschreck) {
|
||||
GL11.glScalef(1.5F, 1.5F, 1.5F);
|
||||
GL11.glTranslatef(-0.2F, -0.3F, -0.5F);
|
||||
|
||||
if(Minecraft.getMinecraft().thePlayer.isSneaking())
|
||||
GL11.glTranslatef(-0.2F, -0.3F, -0.5F);
|
||||
else
|
||||
GL11.glTranslatef(-0.1F, 0.0F, 0.0F);
|
||||
} else {
|
||||
GL11.glTranslatef(0F, -0.1F, -0.4F);
|
||||
}
|
||||
|
||||
@ -58,6 +58,8 @@ public class MissilePart {
|
||||
MissilePart.registerPart(ModItems.mp_thruster_20_kerosene_dual, PartType.THRUSTER, 2, 2, ResourceManager.mp_t_20_kerosene_dual, ResourceManager.mp_t_20_kerosene_dual_tex);
|
||||
MissilePart.registerPart(ModItems.mp_thruster_20_kerosene_triple, PartType.THRUSTER, 2, 2, ResourceManager.mp_t_20_kerosene_triple, ResourceManager.mp_t_20_kerosene_dual_tex);
|
||||
MissilePart.registerPart(ModItems.mp_thruster_20_solid, PartType.THRUSTER, 1, 1.75, ResourceManager.mp_t_20_solid, ResourceManager.mp_t_20_solid_tex);
|
||||
MissilePart.registerPart(ModItems.mp_thruster_20_solid_multi, PartType.THRUSTER, 0.5, 1.5, ResourceManager.mp_t_20_solid_multi, ResourceManager.mp_t_20_solid_multi_tex);
|
||||
MissilePart.registerPart(ModItems.mp_thruster_20_solid_multier, PartType.THRUSTER, 0.5, 1.5, ResourceManager.mp_t_20_solid_multi, ResourceManager.mp_t_20_solid_multier_tex);
|
||||
|
||||
//////
|
||||
|
||||
@ -160,6 +162,7 @@ public class MissilePart {
|
||||
MissilePart.registerPart(ModItems.mp_warhead_10_nuclear, PartType.WARHEAD, 2, 1.5, ResourceManager.mp_w_10_nuclear, ResourceManager.mp_w_10_nuclear_tex);
|
||||
MissilePart.registerPart(ModItems.mp_warhead_10_nuclear_large, PartType.WARHEAD, 2.5, 1.5, ResourceManager.mp_w_10_nuclear_large, ResourceManager.mp_w_10_nuclear_large_tex);
|
||||
MissilePart.registerPart(ModItems.mp_warhead_10_taint, PartType.WARHEAD, 2.25, 1.5, ResourceManager.mp_w_10_taint, ResourceManager.mp_w_10_taint_tex);
|
||||
MissilePart.registerPart(ModItems.mp_warhead_10_cloud, PartType.WARHEAD, 2.25, 1.5, ResourceManager.mp_w_10_taint, ResourceManager.mp_w_10_cloud_tex);
|
||||
//
|
||||
MissilePart.registerPart(ModItems.mp_warhead_15_he, PartType.WARHEAD, 2, 1.5, ResourceManager.mp_w_15_he, ResourceManager.mp_w_15_he_tex);
|
||||
MissilePart.registerPart(ModItems.mp_warhead_15_incendiary, PartType.WARHEAD, 2, 1.5, ResourceManager.mp_w_15_incendiary, ResourceManager.mp_w_15_incendiary_tex);
|
||||
|
||||
48
com/hbm/tileentity/machine/TileEntityChlorineSeal.java
Normal file
@ -0,0 +1,48 @@
|
||||
package com.hbm.tileentity.machine;
|
||||
|
||||
import com.hbm.blocks.ModBlocks;
|
||||
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
|
||||
public class TileEntityChlorineSeal extends TileEntity {
|
||||
|
||||
@Override
|
||||
public void updateEntity() {
|
||||
|
||||
if(!worldObj.isRemote && worldObj.isBlockIndirectlyGettingPowered(xCoord, yCoord, zCoord))
|
||||
spread(xCoord, yCoord, zCoord, 0);
|
||||
}
|
||||
|
||||
private void spread(int x, int y, int z, int index) {
|
||||
|
||||
if(index > 50)
|
||||
return;
|
||||
|
||||
if(worldObj.getBlock(x, y, z).isReplaceable(worldObj, x, y, z))
|
||||
worldObj.setBlock(x, y, z, ModBlocks.chlorine_gas);
|
||||
|
||||
if(worldObj.getBlock(x, y, z) != ModBlocks.chlorine_gas && worldObj.getBlock(x, y, z) != ModBlocks.vent_chlorine_seal)
|
||||
return;
|
||||
|
||||
switch(worldObj.rand.nextInt(6)) {
|
||||
case 0:
|
||||
spread(x + 1, y, z, index + 1);
|
||||
break;
|
||||
case 1:
|
||||
spread(x - 1, y, z, index + 1);
|
||||
break;
|
||||
case 2:
|
||||
spread(x, y + 1, z, index + 1);
|
||||
break;
|
||||
case 3:
|
||||
spread(x, y - 1, z, index + 1);
|
||||
break;
|
||||
case 4:
|
||||
spread(x, y, z + 1, index + 1);
|
||||
break;
|
||||
case 5:
|
||||
spread(x, y, z - 1, index + 1);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,9 +1,15 @@
|
||||
package com.hbm.tileentity.machine;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.hbm.lib.ModDamageSource;
|
||||
import com.hbm.packet.PacketDispatcher;
|
||||
import com.hbm.packet.TEAssemblerPacket;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.monster.EntityMob;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
|
||||
public class TileEntityRadiobox extends TileEntity {
|
||||
|
||||
@ -15,8 +21,13 @@ public class TileEntityRadiobox extends TileEntity {
|
||||
@Override
|
||||
public void updateEntity() {
|
||||
|
||||
if(!worldObj.isRemote) {
|
||||
//PacketDispatcher.wrapper.sendToAll(new TEAssemblerPacket(xCoord, yCoord, zCoord));
|
||||
if(!worldObj.isRemote && this.getBlockMetadata() > 5) {
|
||||
|
||||
int range = 15;
|
||||
|
||||
List<Entity> entities = worldObj.getEntitiesWithinAABB(EntityMob.class, AxisAlignedBB.getBoundingBox(xCoord - range, yCoord - range, zCoord - range, xCoord + range, yCoord + range, zCoord + range));
|
||||
for(Entity entity : entities)
|
||||
entity.attackEntityFrom(ModDamageSource.enervation, 20.0F);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -126,8 +126,9 @@ public class TileEntityReactorControl extends TileEntity implements ISidedInvent
|
||||
public void readFromNBT(NBTTagCompound nbt) {
|
||||
super.readFromNBT(nbt);
|
||||
NBTTagList list = nbt.getTagList("items", 10);
|
||||
|
||||
|
||||
redstoned = nbt.getBoolean("red");
|
||||
auto = nbt.getBoolean("auto");
|
||||
lastRods = nbt.getInteger("lastRods");
|
||||
|
||||
slots = new ItemStack[getSizeInventory()];
|
||||
@ -149,6 +150,7 @@ public class TileEntityReactorControl extends TileEntity implements ISidedInvent
|
||||
NBTTagList list = new NBTTagList();
|
||||
|
||||
nbt.setBoolean("red", redstoned);
|
||||
nbt.setBoolean("auto", auto);
|
||||
nbt.setInteger("lastRods", lastRods);
|
||||
|
||||
for(int i = 0; i < slots.length; i++)
|
||||
|
||||
@ -236,10 +236,10 @@ public class Meteorite {
|
||||
ipL.add(new ItemStack(ModBlocks.block_meteor_treasure));
|
||||
break;
|
||||
case 1:
|
||||
ipL.add(new ItemStack(Blocks.stone));
|
||||
ipL.add(new ItemStack(ModBlocks.block_meteor_broken));
|
||||
break;
|
||||
case 2:
|
||||
ipL.add(new ItemStack(Blocks.netherrack));
|
||||
ipL.add(new ItemStack(ModBlocks.block_meteor_cobble));
|
||||
break;
|
||||
}
|
||||
|
||||
@ -347,10 +347,10 @@ public class Meteorite {
|
||||
ipL.add(new ItemStack(ModBlocks.block_meteor_treasure));
|
||||
break;
|
||||
case 1:
|
||||
ipL.add(new ItemStack(Blocks.stone));
|
||||
ipL.add(new ItemStack(ModBlocks.block_meteor_broken));
|
||||
break;
|
||||
case 2:
|
||||
ipL.add(new ItemStack(Blocks.netherrack));
|
||||
ipL.add(new ItemStack(ModBlocks.block_meteor_cobble));
|
||||
break;
|
||||
}
|
||||
|
||||
@ -708,65 +708,31 @@ public class Meteorite {
|
||||
}
|
||||
|
||||
public List<ItemStack> getRandomOre(Random rand) {
|
||||
List<ItemStack> ores = new ArrayList<ItemStack>();
|
||||
|
||||
try {
|
||||
String[] names = OreDictionary.getOreNames();
|
||||
|
||||
for(int i = 0; i < names.length; i++) {
|
||||
if(names[i] != null && names[i].length() > 3 && names[i].substring(0, 3).equals("ore")) {
|
||||
|
||||
List<ItemStack> ota = OreDictionary.getOres(names[i]);
|
||||
for(int j = 0; j < ota.size(); j++) {
|
||||
ItemStack stack = ota.get(j);
|
||||
if(Block.getBlockFromItem(stack.getItem()) != null)
|
||||
ores.add(stack.copy());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
switch(rand.nextInt(15)) {
|
||||
case 0:
|
||||
List<ItemStack> list1 = new ArrayList<ItemStack>();
|
||||
list1.add(new ItemStack(ModBlocks.ore_rare, 1).copy());
|
||||
return list1;
|
||||
case 1:
|
||||
List<ItemStack> list2 = new ArrayList<ItemStack>();
|
||||
list2.add(new ItemStack(ModBlocks.ore_uranium, 1).copy());
|
||||
return list2;
|
||||
case 2:
|
||||
List<ItemStack> list3 = new ArrayList<ItemStack>();
|
||||
list3.add(new ItemStack(ModBlocks.ore_reiium, 1).copy());
|
||||
list3.add(new ItemStack(ModBlocks.ore_weidanium, 1).copy());
|
||||
list3.add(new ItemStack(ModBlocks.ore_australium, 1).copy());
|
||||
list3.add(new ItemStack(ModBlocks.ore_unobtainium, 1).copy());
|
||||
list3.add(new ItemStack(ModBlocks.ore_daffergon, 1).copy());
|
||||
list3.add(new ItemStack(ModBlocks.ore_verticium, 1).copy());
|
||||
return list3;
|
||||
case 3:
|
||||
List<ItemStack> list4 = new ArrayList<ItemStack>();
|
||||
list4.add(new ItemStack(ModBlocks.ore_nether_fire, 1).copy());
|
||||
list4.add(new ItemStack(ModBlocks.ore_nether_plutonium, 1).copy());
|
||||
list4.add(new ItemStack(ModBlocks.ore_nether_schrabidium, 1).copy());
|
||||
list4.add(new ItemStack(ModBlocks.ore_nether_sulfur, 1).copy());
|
||||
list4.add(new ItemStack(ModBlocks.ore_nether_tungsten, 1).copy());
|
||||
list4.add(new ItemStack(ModBlocks.ore_nether_uranium, 1).copy());
|
||||
return list4;
|
||||
}
|
||||
|
||||
if(ores.isEmpty()) {
|
||||
List<ItemStack> list = new ArrayList<ItemStack>();
|
||||
list.add(new ItemStack(Blocks.iron_ore, 1).copy());
|
||||
return list;
|
||||
} else {
|
||||
return ores;
|
||||
}
|
||||
} catch(Exception ex) {
|
||||
MainRegistry.logger.error("Critical error in meteor creation, falling back to iron ore...");
|
||||
ores.clear();
|
||||
ores.add(new ItemStack(Blocks.iron_ore, 1).copy());
|
||||
return ores;
|
||||
}
|
||||
List<ItemStack> ores = new ArrayList<ItemStack>();
|
||||
|
||||
for(int i = 0; i < 3; i++)
|
||||
ores.add(new ItemStack(ModBlocks.ore_meteor_uranium));
|
||||
for(int i = 0; i < 5; i++)
|
||||
ores.add(new ItemStack(ModBlocks.ore_meteor_thorium));
|
||||
for(int i = 0; i < 6; i++)
|
||||
ores.add(new ItemStack(ModBlocks.ore_meteor_titanium));
|
||||
for(int i = 0; i < 7; i++)
|
||||
ores.add(new ItemStack(ModBlocks.ore_meteor_sulfur));
|
||||
for(int i = 0; i < 8; i++)
|
||||
ores.add(new ItemStack(ModBlocks.ore_meteor_copper));
|
||||
for(int i = 0; i < 5; i++)
|
||||
ores.add(new ItemStack(ModBlocks.ore_meteor_tungsten));
|
||||
for(int i = 0; i < 7; i++)
|
||||
ores.add(new ItemStack(ModBlocks.ore_meteor_aluminium));
|
||||
for(int i = 0; i < 6; i++)
|
||||
ores.add(new ItemStack(ModBlocks.ore_meteor_lead));
|
||||
for(int i = 0; i < 4; i++)
|
||||
ores.add(new ItemStack(ModBlocks.ore_meteor_lithium));
|
||||
for(int i = 0; i < 1; i++)
|
||||
ores.add(new ItemStack(ModBlocks.ore_meteor_starmetal));
|
||||
|
||||
return ores;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||