├── logs ├── debug.log └── latest.log ├── src └── main │ ├── resources │ ├── assets │ │ └── modularpowerarmor │ │ │ ├── models │ │ │ ├── item │ │ │ │ ├── clock.json │ │ │ │ ├── compass.json │ │ │ │ ├── fluid_tank.json │ │ │ │ ├── tinkertable_entity.json │ │ │ │ ├── portable_crafting_table.json │ │ │ │ ├── mpa_workbench.json │ │ │ │ ├── luxcapacitor_module.json │ │ │ │ ├── portable_mpa_workbench.json │ │ │ │ ├── fortune.json │ │ │ │ ├── hoe.json │ │ │ │ ├── axe.json │ │ │ │ ├── powerfist.json │ │ │ │ ├── vein_miner.json │ │ │ │ ├── flint_and_steel.json │ │ │ │ ├── shears.json │ │ │ │ ├── shovel.json │ │ │ │ ├── glider.json │ │ │ │ ├── magnet.json │ │ │ │ ├── pickaxe.json │ │ │ │ ├── railgun.json │ │ │ │ ├── binoculars.json │ │ │ │ ├── jet_boots.json │ │ │ │ ├── jetpack.json │ │ │ │ ├── leaf_blower.json │ │ │ │ ├── parachute.json │ │ │ │ ├── powerarmor_feet.json │ │ │ │ ├── powerarmor_head.json │ │ │ │ ├── powerarmor_legs.json │ │ │ │ ├── powerarmor_torso.json │ │ │ │ ├── aqua_affinity.json │ │ │ │ ├── blink_drive.json │ │ │ │ ├── energy_shield.json │ │ │ │ ├── invisibility.json │ │ │ │ ├── jump_assist.json │ │ │ │ ├── melee_assist.json │ │ │ │ ├── night_vision.json │ │ │ │ ├── plating_iron.json │ │ │ │ ├── swim_assist.json │ │ │ │ ├── auto_feeder.json │ │ │ │ ├── blade_launcher.json │ │ │ │ ├── climb_assist.json │ │ │ │ ├── dim_rift_gen.json │ │ │ │ ├── flight_control.json │ │ │ │ ├── lightning_summoner.json │ │ │ │ ├── plasma_cannon.json │ │ │ │ ├── plating_diamond.json │ │ │ │ ├── plating_leather.json │ │ │ │ ├── shock_absorber.json │ │ │ │ ├── sprint_assist.json │ │ │ │ ├── airtight_seal.json │ │ │ │ ├── aoe_pick_upgrade.json │ │ │ │ ├── cooling_system.json │ │ │ │ ├── mob_repulsor.json │ │ │ │ ├── diamond_pick_upgrade.json │ │ │ │ ├── transparent_armor.json │ │ │ │ ├── generator_kinetic.json │ │ │ │ ├── generator_solar.json │ │ │ │ ├── generator_thermal.json │ │ │ │ ├── water_electrolyzer.json │ │ │ │ ├── generator_solar_adv.json │ │ │ │ ├── armor │ │ │ │ │ ├── mps_arms.mtl │ │ │ │ │ ├── jetpack.mtl │ │ │ │ │ ├── mps_boots.mtl │ │ │ │ │ ├── mps_chest.mtl │ │ │ │ │ ├── mps_helm.mtl │ │ │ │ │ ├── armor2.mtl │ │ │ │ │ ├── mps_pantaloons.mtl │ │ │ │ │ └── json │ │ │ │ │ │ ├── armor2.json │ │ │ │ │ │ ├── jetpack.json │ │ │ │ │ │ ├── mps_arms.json │ │ │ │ │ │ ├── mps_boots.json │ │ │ │ │ │ ├── mps_chest.json │ │ │ │ │ │ ├── mps_helm.json │ │ │ │ │ │ └── mps_pantaloons.json │ │ │ │ ├── powerfist │ │ │ │ │ └── powerfist.mtl │ │ │ │ └── luxcapacitor.json │ │ │ ├── block │ │ │ │ ├── tinkertable_entity.json │ │ │ │ ├── powerarmor_workbench.mtl │ │ │ │ ├── luxcapacitor_lens.json │ │ │ │ ├── luxcapacitor │ │ │ │ │ ├── luxcapacitor_base.json │ │ │ │ │ ├── luxcapacitor_lens.obj │ │ │ │ │ └── luxcapacitor.mtl │ │ │ │ ├── luxcapacitor.json │ │ │ │ ├── mpa_workbench.json │ │ │ │ └── luxcapacitor.mtl │ │ │ └── entity │ │ │ │ ├── bolt.mtl │ │ │ │ └── bolt.obj │ │ │ ├── textures │ │ │ ├── fluids │ │ │ │ ├── liquid_nitrogen_flow.png.mcmeta │ │ │ │ ├── liquid_nitrogen_still.png.mcmeta │ │ │ │ ├── liquid_nitrogen_flow.png │ │ │ │ ├── liquid_nitrogen_overlay.png │ │ │ │ └── liquid_nitrogen_still.png │ │ │ ├── logo.png │ │ │ ├── gui │ │ │ │ ├── search.png │ │ │ │ ├── crafting.png │ │ │ │ ├── hexfield.png │ │ │ │ ├── recipe_book.png │ │ │ │ └── recipe_book_button.png │ │ │ ├── item │ │ │ │ ├── heart.png │ │ │ │ ├── carbon.png │ │ │ │ ├── grafter.png │ │ │ │ ├── lantern.png │ │ │ │ ├── redstar.png │ │ │ │ ├── arcreactor.png │ │ │ │ ├── bluephaser.png │ │ │ │ ├── blueplate.png │ │ │ │ ├── clawclosed.png │ │ │ │ ├── clawlaser.png │ │ │ │ ├── clawopen.png │ │ │ │ ├── eureader.png │ │ │ │ ├── fireweapon.png │ │ │ │ ├── greenfield.png │ │ │ │ ├── greenlight.png │ │ │ │ ├── greenplate.png │ │ │ │ ├── handitem.png │ │ │ │ ├── mpsManual.png │ │ │ │ ├── multimeter.png │ │ │ │ ├── reddrone.png │ │ │ │ ├── redfield.png │ │ │ │ ├── redlight.png │ │ │ │ ├── redphaser.png │ │ │ │ ├── redplate.png │ │ │ │ ├── toolfisty.png │ │ │ │ ├── energymeter.png │ │ │ │ ├── gravitydrive.png │ │ │ │ ├── greenphaser.png │ │ │ │ ├── microbattery.png │ │ │ │ ├── nexuscrystal.png │ │ │ │ ├── thermometer.png │ │ │ │ ├── toolpointer.png │ │ │ │ ├── torchplacer.png │ │ │ │ ├── InvisibleAnim.png │ │ │ │ ├── armor │ │ │ │ │ ├── diffuse.png │ │ │ │ │ ├── jetpack.png │ │ │ │ │ ├── joearmor.png │ │ │ │ │ ├── sebkarmor.png │ │ │ │ │ ├── armor2diffuse.png │ │ │ │ │ ├── joearmorpants.png │ │ │ │ │ └── sebkarmorpants.png │ │ │ │ ├── crystalbubble.png │ │ │ │ ├── crystalsphere.png │ │ │ │ ├── diamondupgrade.png │ │ │ │ ├── diamondupgrade2.png │ │ │ │ ├── module │ │ │ │ │ ├── tool │ │ │ │ │ │ ├── axe.png │ │ │ │ │ │ ├── psd.png │ │ │ │ │ │ ├── pickaxe.png │ │ │ │ │ │ ├── shears.png │ │ │ │ │ │ ├── shovel.png │ │ │ │ │ │ ├── treetap.png │ │ │ │ │ │ ├── omniprobe.png │ │ │ │ │ │ ├── orescanner.png │ │ │ │ │ │ ├── aqua_affinity.png │ │ │ │ │ │ ├── leaf_blower.png │ │ │ │ │ │ ├── luxcapacitor.png │ │ │ │ │ │ ├── appeng_wireless.png │ │ │ │ │ │ ├── diamond_pick_upgrade.png │ │ │ │ │ │ └── appeng_ec_wireless_fluid.png │ │ │ │ │ ├── special │ │ │ │ │ │ ├── clock.png │ │ │ │ │ │ ├── magnet.png │ │ │ │ │ │ └── invisibility.png │ │ │ │ │ ├── movement │ │ │ │ │ │ ├── glider.png │ │ │ │ │ │ ├── jet_boots.png │ │ │ │ │ │ ├── jetpack.png │ │ │ │ │ │ ├── parachute.png │ │ │ │ │ │ ├── blink_drive.png │ │ │ │ │ │ ├── jump_assist.png │ │ │ │ │ │ ├── swim_assist.png │ │ │ │ │ │ ├── climb_assist.png │ │ │ │ │ │ ├── dim_rift_gen.png │ │ │ │ │ │ ├── flight_control.png │ │ │ │ │ │ ├── shock_absorber.png │ │ │ │ │ │ └── sprint_assist.png │ │ │ │ │ ├── weapon │ │ │ │ │ │ ├── railgun.png │ │ │ │ │ │ ├── lightning.png │ │ │ │ │ │ ├── melee_assist.png │ │ │ │ │ │ ├── plasma_cannon.png │ │ │ │ │ │ └── spinningblade.png │ │ │ │ │ ├── armor │ │ │ │ │ │ ├── plating.iron.png │ │ │ │ │ │ ├── energy_shield.png │ │ │ │ │ │ ├── plating.diamond.png │ │ │ │ │ │ └── plating.leather.png │ │ │ │ │ ├── vision │ │ │ │ │ │ ├── binoculars.png │ │ │ │ │ │ └── night_vision.png │ │ │ │ │ ├── environmental │ │ │ │ │ │ ├── hazmat.png │ │ │ │ │ │ ├── auto_feeder.png │ │ │ │ │ │ ├── airtight_seal.png │ │ │ │ │ │ ├── apiarist_armor.png │ │ │ │ │ │ ├── cooling_system.png │ │ │ │ │ │ ├── mob_repulsor.png │ │ │ │ │ │ └── water_electrolyzer.png │ │ │ │ │ ├── mining_enhancement │ │ │ │ │ │ └── aoe.png │ │ │ │ │ ├── cosmetic │ │ │ │ │ │ └── transparent_armor.png │ │ │ │ │ └── energy │ │ │ │ │ │ ├── storage │ │ │ │ │ │ ├── battery.basic.png │ │ │ │ │ │ ├── battery.elite.png │ │ │ │ │ │ ├── battery.advanced.png │ │ │ │ │ │ └── battery.ultimate.png │ │ │ │ │ │ └── generation │ │ │ │ │ │ ├── generator.solar.png │ │ │ │ │ │ ├── generator.kinetic.png │ │ │ │ │ │ ├── generator.thermal.png │ │ │ │ │ │ └── generator.solar.adv.png │ │ │ │ ├── powerarmor.feet.png │ │ │ │ ├── powerarmor.head.png │ │ │ │ ├── powerarmor.legs.png │ │ │ │ ├── components │ │ │ │ │ ├── paste.png │ │ │ │ │ ├── servo.png │ │ │ │ │ ├── wiring.png │ │ │ │ │ ├── magnetb.png │ │ │ │ │ ├── myofiber.png │ │ │ │ │ ├── solenoid.png │ │ │ │ │ ├── evcapacitor.png │ │ │ │ │ ├── gliderwing.png │ │ │ │ │ ├── hvcapacitor.png │ │ │ │ │ ├── ionthruster.png │ │ │ │ │ ├── iron_plate.png │ │ │ │ │ ├── lvcapacitor.png │ │ │ │ │ ├── mvcapacitor.png │ │ │ │ │ ├── rubberhose.png │ │ │ │ │ ├── solarpanel.png │ │ │ │ │ ├── computerchip.png │ │ │ │ │ ├── controlcircuit.png │ │ │ │ │ ├── diamond_plate.png │ │ │ │ │ ├── fieldemitter.png │ │ │ │ │ ├── leather_plate.png │ │ │ │ │ ├── liquidnitrogen.png │ │ │ │ │ ├── parachuteitem.png │ │ │ │ │ ├── artificialmuscle.png │ │ │ │ │ └── hologramemitter.png │ │ │ │ ├── night_vsion_anim1.png │ │ │ │ ├── night_vsion_anim2.png │ │ │ │ ├── powerarmor.torso.png │ │ │ │ └── heatresistantplating.png │ │ │ ├── mmmpsicon.png │ │ │ ├── block │ │ │ │ ├── luxcap.png │ │ │ │ └── modularpowerarmorworkbench.png │ │ │ ├── mmmpslogo_64.png │ │ │ ├── models │ │ │ │ ├── bolt.png │ │ │ │ ├── powerfist.png │ │ │ │ ├── luxcapacitor.png │ │ │ │ ├── thusters_uvw_2.png │ │ │ │ └── tinkertable_tx.png │ │ │ ├── modules │ │ │ │ ├── laser.png │ │ │ │ ├── toolpinch.png │ │ │ │ ├── greendrone.png │ │ │ │ ├── netherstar.png │ │ │ │ ├── octerminal.png │ │ │ │ ├── omniwrench.png │ │ │ │ ├── soundweapon.png │ │ │ │ ├── toolshovel.png │ │ │ │ ├── mechassistance.png │ │ │ │ ├── fieldteleporter.png │ │ │ │ ├── portablecrafting.png │ │ │ │ ├── heatresistantplating.png │ │ │ │ └── heatresistantplating2.png │ │ │ └── sebkicons │ │ │ │ ├── 0,0.png │ │ │ │ ├── 0,1.png │ │ │ │ ├── 0,2.png │ │ │ │ ├── 0,3.png │ │ │ │ ├── 0,4.png │ │ │ │ ├── 0,5.png │ │ │ │ ├── 0,6.png │ │ │ │ ├── 0,7.png │ │ │ │ ├── 0,8.png │ │ │ │ ├── 1,0.png │ │ │ │ ├── 1,1.png │ │ │ │ ├── 1,2.png │ │ │ │ ├── 1,3.png │ │ │ │ ├── 1,4.png │ │ │ │ └── 1,5.png │ │ │ ├── fonts │ │ │ └── cra.ttf │ │ │ ├── sounds │ │ │ ├── glider.ogg │ │ │ ├── jetpack.ogg │ │ │ ├── jet_boots.ogg │ │ │ ├── jump_assist.ogg │ │ │ ├── swim_assist.ogg │ │ │ └── water_electrolyzer.ogg │ │ │ ├── blockstates │ │ │ ├── workbench_entity.json │ │ │ ├── mpa_workbench.json │ │ │ ├── luxcapacitor.json │ │ │ └── luxcapacitor_bu.json │ │ │ ├── modelspec │ │ │ ├── armor_skin2.xml │ │ │ └── default_armorskin.xml │ │ │ └── sounds.json │ ├── pack.mcmeta │ ├── data │ │ └── modularpowerarmor │ │ │ ├── cosmeticpresets │ │ │ ├── power_fist │ │ │ │ └── Default.dat │ │ │ ├── powerarmor_feet │ │ │ │ ├── Default.dat │ │ │ │ ├── Default Armor2.dat │ │ │ │ ├── Default Armor Skin.dat │ │ │ │ └── Citizen Joe Armor Skin.dat │ │ │ ├── powerarmor_head │ │ │ │ ├── Default.dat │ │ │ │ ├── Default Armor2.dat │ │ │ │ ├── Default Armor Skin.dat │ │ │ │ └── Citenzen Joe Armor Skin.dat │ │ │ ├── powerarmor_legs │ │ │ │ ├── Default.dat │ │ │ │ ├── Default Armor2.dat │ │ │ │ ├── Defalt Armor Skin.dat │ │ │ │ └── Citizen Joe Armor Skin.dat │ │ │ └── powerarmor_torso │ │ │ │ ├── Default.dat │ │ │ │ ├── Default Armor2.dat │ │ │ │ ├── Default Armor Skin.dat │ │ │ │ └── Citenzen Joe Armor Skin.dat │ │ │ ├── loot_tables │ │ │ └── blocks │ │ │ │ └── workbench.json │ │ │ └── recipes │ │ │ ├── vanilla │ │ │ ├── powerarmor_feet.json │ │ │ ├── powerarmor_head.json │ │ │ ├── power_fist.json │ │ │ ├── powerarmor_legs.json │ │ │ ├── powerarmor_torso.json │ │ │ ├── modules │ │ │ │ ├── armor │ │ │ │ │ ├── leather_plating.json │ │ │ │ │ ├── iron_plating.json │ │ │ │ │ ├── diamond_plating.json │ │ │ │ │ └── energy_shield.json │ │ │ │ ├── mining_enhancement │ │ │ │ │ ├── aoe_module.json │ │ │ │ │ └── vein_miner.json │ │ │ │ ├── tool │ │ │ │ │ ├── clock.json │ │ │ │ │ ├── compass.json │ │ │ │ │ ├── shears.json │ │ │ │ │ ├── shovel.json │ │ │ │ │ ├── portable_crafting_table.json │ │ │ │ │ ├── axe.json │ │ │ │ │ ├── pickaxe.json │ │ │ │ │ ├── rototiller.json │ │ │ │ │ ├── leaf_blower.json │ │ │ │ │ ├── lux_capacitor.json │ │ │ │ │ ├── flint_and_steel.json │ │ │ │ │ ├── portable_mpa_workbench.json │ │ │ │ │ └── diamond_drill_upgrade.json │ │ │ │ ├── vision │ │ │ │ │ ├── binoculars.json │ │ │ │ │ └── nightvision.json │ │ │ │ ├── cosmetic │ │ │ │ │ └── transparent_armor.json │ │ │ │ ├── weapon │ │ │ │ │ ├── melee_assist.json │ │ │ │ │ ├── blade_launcher.json │ │ │ │ │ ├── lightning.json │ │ │ │ │ ├── railgun.json │ │ │ │ │ └── plasma_cannon.json │ │ │ │ └── energy │ │ │ │ │ └── generation │ │ │ │ │ ├── kinetic_generator.json │ │ │ │ │ ├── solar_generator.json │ │ │ │ │ ├── thermal_generator.json │ │ │ │ │ └── advanced_solar_generator.json │ │ │ └── mpa_workbench.json │ │ │ └── centralizedmaterials │ │ │ ├── power_fist.json │ │ │ ├── power_armor_boots.json │ │ │ ├── power_armor_helmet.json │ │ │ ├── power_armor_leggings.json │ │ │ ├── modules │ │ │ ├── armor │ │ │ │ ├── iron_plating.json │ │ │ │ ├── leather_plating.json │ │ │ │ ├── diamond_plating.json │ │ │ │ └── energy_shield.json │ │ │ ├── mining_enhancement │ │ │ │ ├── aoe_module.json │ │ │ │ └── vein_miner.json │ │ │ ├── tool │ │ │ │ ├── clock.json │ │ │ │ ├── compass.json │ │ │ │ ├── portable_crafting_table.json │ │ │ │ ├── shovel.json │ │ │ │ ├── vein_miner.json │ │ │ │ ├── pickaxe.json │ │ │ │ ├── lux_capacitor.json │ │ │ │ └── diamond_drill_upgrade.json │ │ │ ├── weapon │ │ │ │ ├── melee_assist.json │ │ │ │ ├── plasma_cannon.json │ │ │ │ └── railgun.json │ │ │ └── energy │ │ │ │ └── storage │ │ │ │ ├── basic_battery.json │ │ │ │ ├── elite_battery.json │ │ │ │ ├── advanced_battery.json │ │ │ │ └── ultimate_battery.json │ │ │ ├── power_armor_chestplate.json │ │ │ └── workbench.json │ └── META-INF │ │ └── mods.toml │ └── java │ └── com │ └── github │ └── lehjr │ └── modularpowerarmor │ ├── item │ ├── armor │ │ ├── PowerArmorBoots.java │ │ ├── PowerArmorHelmet.java │ │ ├── PowerArmorLeggings.java │ │ └── PowerArmorChestplate.java │ ├── module │ │ └── movement │ │ │ ├── UUID.java │ │ │ └── AttributeModifier.java │ └── tool │ │ └── MPAToolMaterial.java │ ├── network │ ├── NetworkHelper.java │ └── packets │ │ ├── OnClientLoginPacket.java │ │ ├── ContainerGuiOpenPacket.java │ │ ├── ColourInfoPacket.java │ │ ├── CreativeInstallModuleRequestPacket.java │ │ └── MusePacketCosmeticPreset.java │ ├── client │ ├── render │ │ └── item │ │ │ └── TinkerTableISTR.java │ ├── model │ │ ├── item │ │ │ └── ModelWrapper.java │ │ └── helper │ │ │ └── LuxCapHelper.java │ ├── gui │ │ └── obsolete │ │ │ ├── ScrollableSlider.java │ │ │ ├── ScrollableLabel.java │ │ │ └── ScrollableRectangle.java │ └── sound │ │ └── MPASoundDictionary.java │ ├── container │ ├── IModularItemToSlotMapProvider.java │ ├── MPARecipeBookContainer.java │ └── MPAWorkbenchContainerProvider.java │ ├── basemod │ ├── MPACreativeTab.java │ └── MPAModules.java │ ├── event │ ├── EntityDamageEvent.java │ └── PlayerLoginHandler.java │ └── tile_entity │ ├── WorkBenchTileEntity.java │ └── LuxCapacitorTileEntity.java ├── .directory ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .travis.yml ├── .gitignore ├── TODO.txt ├── bu_1.16.3 └── com │ └── github │ └── lehjr │ └── modularpowerarmor │ ├── basemod │ └── MPAConstants.java │ ├── jei │ ├── JEIPlugin.java │ └── TransferInfo.java │ ├── entity │ └── TestBolt.java │ ├── block │ └── BlockTinkerTable.java │ └── item │ └── armor │ └── IModularItemBase.java ├── .gitattributes ├── gradle.properties ├── .github └── ISSUE_TEMPLATE │ ├── feature_request.md │ └── bug_report.md ├── LICENSE.txt └── README.md /logs/debug.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logs/latest.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/clock.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/clock" 3 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/compass.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/compass" 3 | } -------------------------------------------------------------------------------- /.directory: -------------------------------------------------------------------------------- 1 | [Dolphin] 2 | Timestamp=2019,1,10,17,52,17 3 | Version=4 4 | 5 | [Settings] 6 | HiddenFilesShown=true 7 | -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/fluid_tank.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:item/bucket" 3 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/tinkertable_entity.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "builtin/entity" 3 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/fluids/liquid_nitrogen_flow.png.mcmeta: -------------------------------------------------------------------------------- 1 | { 2 | "animation": {} 3 | } -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/portable_crafting_table.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/crafting_table" 3 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/mpa_workbench.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent" : "modularpowerarmor:block/mpa_workbench" 3 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/luxcapacitor_module.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "modularpowerarmor:item/luxcapacitor" 3 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/portable_mpa_workbench.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "modularpowerarmor:block/mpa_workbench" 3 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/fluids/liquid_nitrogen_still.png.mcmeta: -------------------------------------------------------------------------------- 1 | { 2 | "animation": { 3 | "frametime": 2 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /src/main/resources/pack.mcmeta: -------------------------------------------------------------------------------- 1 | { 2 | "pack": { 3 | "description": "Resources used for Modular Power Armor", 4 | "pack_format": 6 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/fonts/cra.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/fonts/cra.ttf -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/fortune.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "minecraft:item/gold_ingot" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/hoe.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "minecraft:item/golden_hoe" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/sounds/glider.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/sounds/glider.ogg -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/sounds/jetpack.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/sounds/jetpack.ogg -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/logo.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/block/tinkertable_entity.json: -------------------------------------------------------------------------------- 1 | { 2 | "textures": { 3 | "particle": "modularpowerarmor:block/modularpowerarmorworkbench" 4 | } 5 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/sounds/jet_boots.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/sounds/jet_boots.ogg -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/axe.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/tool/axe" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/powerfist.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/handitem" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/vein_miner.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "minecraft:item/golden_pickaxe" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/sounds/jump_assist.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/sounds/jump_assist.ogg -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/sounds/swim_assist.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/sounds/swim_assist.ogg -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/gui/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/gui/search.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/heart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/heart.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/mmmpsicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/mmmpsicon.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/flint_and_steel.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "minecraft:item/flint_and_steel" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/shears.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/tool/shears" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/shovel.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/tool/shovel" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/block/luxcap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/block/luxcap.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/gui/crafting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/gui/crafting.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/gui/hexfield.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/gui/hexfield.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/carbon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/carbon.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/grafter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/grafter.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/lantern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/lantern.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/redstar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/redstar.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/mmmpslogo_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/mmmpslogo_64.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/models/bolt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/models/bolt.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/glider.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/movement/glider" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/magnet.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/special/magnet" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/pickaxe.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/tool/pickaxe" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/railgun.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/weapon/railgun" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/gui/recipe_book.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/gui/recipe_book.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/arcreactor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/arcreactor.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/bluephaser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/bluephaser.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/blueplate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/blueplate.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/clawclosed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/clawclosed.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/clawlaser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/clawlaser.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/clawopen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/clawopen.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/eureader.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/eureader.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/fireweapon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/fireweapon.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/greenfield.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/greenfield.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/greenlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/greenlight.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/greenplate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/greenplate.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/handitem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/handitem.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/mpsManual.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/mpsManual.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/multimeter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/multimeter.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/reddrone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/reddrone.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/redfield.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/redfield.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/redlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/redlight.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/redphaser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/redphaser.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/redplate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/redplate.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/toolfisty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/toolfisty.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/modules/laser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/modules/laser.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/sebkicons/0,0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/sebkicons/0,0.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/sebkicons/0,1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/sebkicons/0,1.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/sebkicons/0,2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/sebkicons/0,2.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/sebkicons/0,3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/sebkicons/0,3.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/sebkicons/0,4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/sebkicons/0,4.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/sebkicons/0,5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/sebkicons/0,5.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/sebkicons/0,6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/sebkicons/0,6.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/sebkicons/0,7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/sebkicons/0,7.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/sebkicons/0,8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/sebkicons/0,8.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/sebkicons/1,0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/sebkicons/1,0.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/sebkicons/1,1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/sebkicons/1,1.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/sebkicons/1,2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/sebkicons/1,2.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/sebkicons/1,3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/sebkicons/1,3.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/sebkicons/1,4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/sebkicons/1,4.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/sebkicons/1,5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/sebkicons/1,5.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/binoculars.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/vision/binoculars" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/jet_boots.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/movement/jet_boots" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/jetpack.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/movement/jetpack" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/leaf_blower.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/tool/leaf_blower" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/parachute.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/movement/parachute" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/powerarmor_feet.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/powerarmor.feet" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/powerarmor_head.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/powerarmor.head" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/powerarmor_legs.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/powerarmor.legs" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/powerarmor_torso.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/powerarmor.torso" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/sounds/water_electrolyzer.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/sounds/water_electrolyzer.ogg -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/energymeter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/energymeter.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/gravitydrive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/gravitydrive.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/greenphaser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/greenphaser.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/microbattery.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/microbattery.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/nexuscrystal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/nexuscrystal.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/thermometer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/thermometer.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/toolpointer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/toolpointer.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/torchplacer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/torchplacer.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/models/powerfist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/models/powerfist.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/modules/toolpinch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/modules/toolpinch.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/aqua_affinity.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/tool/aqua_affinity" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/blink_drive.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/movement/blink_drive" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/energy_shield.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/armor/energy_shield" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/invisibility.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/special/invisibility" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/jump_assist.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/movement/jump_assist" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/melee_assist.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/weapon/melee_assist" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/night_vision.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/vision/night_vision" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/plating_iron.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/armor/plating.iron" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/swim_assist.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/movement/swim_assist" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/InvisibleAnim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/InvisibleAnim.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/armor/diffuse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/armor/diffuse.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/armor/jetpack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/armor/jetpack.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/armor/joearmor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/armor/joearmor.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/armor/sebkarmor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/armor/sebkarmor.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/crystalbubble.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/crystalbubble.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/crystalsphere.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/crystalsphere.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/diamondupgrade.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/diamondupgrade.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/diamondupgrade2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/diamondupgrade2.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/tool/axe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/tool/axe.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/tool/psd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/tool/psd.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/powerarmor.feet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/powerarmor.feet.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/powerarmor.head.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/powerarmor.head.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/powerarmor.legs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/powerarmor.legs.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/models/luxcapacitor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/models/luxcapacitor.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/modules/greendrone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/modules/greendrone.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/modules/netherstar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/modules/netherstar.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/modules/octerminal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/modules/octerminal.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/modules/omniwrench.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/modules/omniwrench.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/modules/soundweapon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/modules/soundweapon.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/modules/toolshovel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/modules/toolshovel.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/auto_feeder.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/environmental/auto_feeder" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/blade_launcher.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/weapon/spinningblade" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/climb_assist.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/movement/climb_assist" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/dim_rift_gen.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/movement/dim_rift_gen" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/flight_control.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/movement/flight_control" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/lightning_summoner.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/weapon/lightning" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/plasma_cannon.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/weapon/plasma_cannon" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/plating_diamond.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/armor/plating.diamond" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/plating_leather.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/armor/plating.leather" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/shock_absorber.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/movement/shock_absorber" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/sprint_assist.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/movement/sprint_assist" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/gui/recipe_book_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/gui/recipe_book_button.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/components/paste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/components/paste.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/components/servo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/components/servo.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/components/wiring.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/components/wiring.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/night_vsion_anim1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/night_vsion_anim1.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/night_vsion_anim2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/night_vsion_anim2.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/powerarmor.torso.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/powerarmor.torso.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/models/thusters_uvw_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/models/thusters_uvw_2.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/models/tinkertable_tx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/models/tinkertable_tx.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/modules/mechassistance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/modules/mechassistance.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/airtight_seal.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/environmental/airtight_seal" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/aoe_pick_upgrade.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/mining_enhancement/aoe" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/cooling_system.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/environmental/cooling_system" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/mob_repulsor.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/environmental/mob_repulsor" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/armor/armor2diffuse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/armor/armor2diffuse.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/armor/joearmorpants.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/armor/joearmorpants.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/armor/sebkarmorpants.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/armor/sebkarmorpants.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/components/magnetb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/components/magnetb.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/components/myofiber.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/components/myofiber.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/components/solenoid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/components/solenoid.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/heatresistantplating.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/heatresistantplating.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/special/clock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/special/clock.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/tool/pickaxe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/tool/pickaxe.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/tool/shears.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/tool/shears.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/tool/shovel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/tool/shovel.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/tool/treetap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/tool/treetap.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/modules/fieldteleporter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/modules/fieldteleporter.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/modules/portablecrafting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/modules/portablecrafting.png -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/cosmeticpresets/power_fist/Default.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/data/modularpowerarmor/cosmeticpresets/power_fist/Default.dat -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/diamond_pick_upgrade.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/tool/diamond_pick_upgrade" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/transparent_armor.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/cosmetic/transparent_armor" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/fluids/liquid_nitrogen_flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/fluids/liquid_nitrogen_flow.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/components/evcapacitor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/components/evcapacitor.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/components/gliderwing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/components/gliderwing.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/components/hvcapacitor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/components/hvcapacitor.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/components/ionthruster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/components/ionthruster.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/components/iron_plate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/components/iron_plate.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/components/lvcapacitor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/components/lvcapacitor.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/components/mvcapacitor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/components/mvcapacitor.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/components/rubberhose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/components/rubberhose.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/components/solarpanel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/components/solarpanel.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/movement/glider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/movement/glider.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/special/magnet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/special/magnet.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/tool/omniprobe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/tool/omniprobe.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/tool/orescanner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/tool/orescanner.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/weapon/railgun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/weapon/railgun.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/generator_kinetic.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/energy/generation/generator.kinetic" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/generator_solar.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/energy/generation/generator.solar" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/generator_thermal.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/energy/generation/generator.thermal" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/water_electrolyzer.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/environmental/water_electrolyzer" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/fluids/liquid_nitrogen_overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/fluids/liquid_nitrogen_overlay.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/fluids/liquid_nitrogen_still.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/fluids/liquid_nitrogen_still.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/components/computerchip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/components/computerchip.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/components/controlcircuit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/components/controlcircuit.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/components/diamond_plate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/components/diamond_plate.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/components/fieldemitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/components/fieldemitter.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/components/leather_plate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/components/leather_plate.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/components/liquidnitrogen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/components/liquidnitrogen.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/components/parachuteitem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/components/parachuteitem.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/armor/plating.iron.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/armor/plating.iron.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/movement/jet_boots.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/movement/jet_boots.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/movement/jetpack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/movement/jetpack.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/movement/parachute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/movement/parachute.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/tool/aqua_affinity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/tool/aqua_affinity.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/tool/leaf_blower.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/tool/leaf_blower.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/tool/luxcapacitor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/tool/luxcapacitor.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/vision/binoculars.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/vision/binoculars.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/weapon/lightning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/weapon/lightning.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/modules/heatresistantplating.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/modules/heatresistantplating.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/modules/heatresistantplating2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/modules/heatresistantplating2.png -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_feet/Default.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_feet/Default.dat -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_head/Default.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_head/Default.dat -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_legs/Default.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_legs/Default.dat -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_torso/Default.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_torso/Default.dat -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/generator_solar_adv.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "modularpowerarmor:item/module/energy/generation/generator.solar.adv" 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/block/modularpowerarmorworkbench.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/block/modularpowerarmorworkbench.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/components/artificialmuscle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/components/artificialmuscle.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/components/hologramemitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/components/hologramemitter.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/armor/energy_shield.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/armor/energy_shield.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/environmental/hazmat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/environmental/hazmat.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/movement/blink_drive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/movement/blink_drive.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/movement/jump_assist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/movement/jump_assist.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/movement/swim_assist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/movement/swim_assist.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/special/invisibility.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/special/invisibility.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/tool/appeng_wireless.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/tool/appeng_wireless.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/vision/night_vision.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/vision/night_vision.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/weapon/melee_assist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/weapon/melee_assist.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/weapon/plasma_cannon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/weapon/plasma_cannon.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/weapon/spinningblade.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/weapon/spinningblade.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/armor/plating.diamond.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/armor/plating.diamond.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/armor/plating.leather.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/armor/plating.leather.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/mining_enhancement/aoe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/mining_enhancement/aoe.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/movement/climb_assist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/movement/climb_assist.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/movement/dim_rift_gen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/movement/dim_rift_gen.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/movement/flight_control.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/movement/flight_control.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/movement/shock_absorber.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/movement/shock_absorber.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/movement/sprint_assist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/movement/sprint_assist.png -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_feet/Default Armor2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_feet/Default Armor2.dat -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_head/Default Armor2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_head/Default Armor2.dat -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_legs/Default Armor2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_legs/Default Armor2.dat -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/environmental/auto_feeder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/environmental/auto_feeder.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/tool/diamond_pick_upgrade.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/tool/diamond_pick_upgrade.png -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_torso/Default Armor2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_torso/Default Armor2.dat -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/cosmetic/transparent_armor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/cosmetic/transparent_armor.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/energy/storage/battery.basic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/energy/storage/battery.basic.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/energy/storage/battery.elite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/energy/storage/battery.elite.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/environmental/airtight_seal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/environmental/airtight_seal.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/environmental/apiarist_armor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/environmental/apiarist_armor.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/environmental/cooling_system.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/environmental/cooling_system.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/environmental/mob_repulsor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/environmental/mob_repulsor.png -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_feet/Default Armor Skin.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_feet/Default Armor Skin.dat -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_head/Default Armor Skin.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_head/Default Armor Skin.dat -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_legs/Defalt Armor Skin.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_legs/Defalt Armor Skin.dat -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_torso/Default Armor Skin.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_torso/Default Armor Skin.dat -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: java 2 | 3 | install: ./gradlew setupCIWorkspace -S 4 | script: ./gradlew build jar 5 | 6 | jdk: 7 | - oraclejdk8 8 | 9 | cache: 10 | directories: 11 | - $HOME/.gradle/caches 12 | - $HOME/.gradle/wrapper 13 | -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/tool/appeng_ec_wireless_fluid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/tool/appeng_ec_wireless_fluid.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/blockstates/workbench_entity.json: -------------------------------------------------------------------------------- 1 | { 2 | "_comment" : "rename this file to tinkertable.json to enable original model", 3 | "variants": { 4 | "": { "model": "modularpowerarmor:block/tinkertable" } 5 | } 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/energy/generation/generator.solar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/energy/generation/generator.solar.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/energy/storage/battery.advanced.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/energy/storage/battery.advanced.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/energy/storage/battery.ultimate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/energy/storage/battery.ultimate.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/environmental/water_electrolyzer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/environmental/water_electrolyzer.png -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_feet/Citizen Joe Armor Skin.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_feet/Citizen Joe Armor Skin.dat -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_head/Citenzen Joe Armor Skin.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_head/Citenzen Joe Armor Skin.dat -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_legs/Citizen Joe Armor Skin.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_legs/Citizen Joe Armor Skin.dat -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_torso/Citenzen Joe Armor Skin.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/data/modularpowerarmor/cosmeticpresets/powerarmor_torso/Citenzen Joe Armor Skin.dat -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/energy/generation/generator.kinetic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/energy/generation/generator.kinetic.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/energy/generation/generator.thermal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/energy/generation/generator.thermal.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/textures/item/module/energy/generation/generator.solar.adv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lehjr/ModularPowerArmor/HEAD/src/main/resources/assets/modularpowerarmor/textures/item/module/energy/generation/generator.solar.adv.png -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/armor/mps_arms.mtl: -------------------------------------------------------------------------------- 1 | # Blender MTL File: 'None' 2 | # Material Count: 1 3 | 4 | newmtl initialShadingGroup 5 | Ka 1.000000 1.000000 1.000000 6 | Kd 1.000000 1.000000 1.000000 7 | map_Kd modularpowerarmor:item/armor/diffuse -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/armor/jetpack.mtl: -------------------------------------------------------------------------------- 1 | # Blender MTL File: 'None' 2 | # Material Count: 1 3 | 4 | newmtl initialShadingGroup 5 | Ka 1.000000 1.000000 1.000000 6 | Kd 1.000000 1.000000 1.000000 7 | map_Kd modularpowerarmor:item/armor/jetpack 8 | -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/armor/mps_boots.mtl: -------------------------------------------------------------------------------- 1 | # Blender MTL File: 'None' 2 | # Material Count: 1 3 | 4 | newmtl initialShadingGroup 5 | Ka 1.000000 1.000000 1.000000 6 | Kd 1.000000 1.000000 1.000000 7 | map_Kd modularpowerarmor:item/armor/diffuse 8 | -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/armor/mps_chest.mtl: -------------------------------------------------------------------------------- 1 | # Blender MTL File: 'None' 2 | # Material Count: 1 3 | 4 | newmtl initialShadingGroup 5 | Ka 1.000000 1.000000 1.000000 6 | Kd 1.000000 1.000000 1.000000 7 | map_Kd modularpowerarmor:item/armor/diffuse 8 | -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/armor/mps_helm.mtl: -------------------------------------------------------------------------------- 1 | # Blender MTL File: 'None' 2 | # Material Count: 1 3 | 4 | newmtl initialShadingGroup 5 | Ka 1.000000 1.000000 1.000000 6 | Kd 1.000000 1.000000 1.000000 7 | map_Kd modularpowerarmor:item/armor/diffuse 8 | -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/armor/armor2.mtl: -------------------------------------------------------------------------------- 1 | # Blender MTL File: 'None' 2 | # Material Count: 1 3 | 4 | newmtl initialShadingGroup 5 | Ka 1.000000 1.000000 1.000000 6 | Kd 0.640000 0.640000 0.640000 7 | map_Kd modularpowerarmor:item/armor/armor2diffuse 8 | -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/armor/mps_pantaloons.mtl: -------------------------------------------------------------------------------- 1 | # Blender MTL File: 'None' 2 | # Material Count: 1 3 | 4 | newmtl initialShadingGroup 5 | Ka 1.000000 1.000000 1.000000 6 | Kd 1.000000 1.000000 1.000000 7 | map_Kd modularpowerarmor:item/armor/diffuse 8 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Jul 09 09:40:31 EDT 2020 2 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-all.zip 3 | distributionBase=GRADLE_USER_HOME 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/block/powerarmor_workbench.mtl: -------------------------------------------------------------------------------- 1 | # Blender MTL File: 'workbench.blend' 2 | # Material Count: 1 3 | 4 | newmtl Material.001 5 | Ka 0.000000 0.000000 0.000000 6 | Kd 0.8 0.8 0.8 7 | d 1 8 | map_Kd modularpowerarmor:block/modularpowerarmorworkbench -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/powerfist/powerfist.mtl: -------------------------------------------------------------------------------- 1 | # Blender MTL File: 'powerFist.blend' 2 | # Material Count: 1 3 | 4 | newmtl initialShadingGroup 5 | Ka 1.000000 1.000000 1.000000 6 | Kd 0.640000 0.640000 0.640000 7 | d 1.000000 8 | map_Kd modularpowerarmor:models/powerfist -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/block/luxcapacitor_lens.json: -------------------------------------------------------------------------------- 1 | { 2 | "loader": "forge:obj", 3 | "model": "modularpowerarmor:models/block/luxcapacitor/luxcapacitor_lens.obj", 4 | "flip-v": true, 5 | "textures": { 6 | "particle": "modularpowerarmor:models/luxcapacitor" 7 | } 8 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/armor/json/armor2.json: -------------------------------------------------------------------------------- 1 | { 2 | "forge_marker": 1, 3 | "variants": { 4 | "normal": [{ 5 | "textures": {}, 6 | "custom": { "flip-v": true }, 7 | "model": "modularpowerarmor:armor/armor2.obj" 8 | }] 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/block/luxcapacitor/luxcapacitor_base.json: -------------------------------------------------------------------------------- 1 | { 2 | "loader": "forge:obj", 3 | "model": "modularpowerarmor:models/block/luxcapacitor/luxcapacitor_base.obj", 4 | "flip-v": true, 5 | "textures": { 6 | "particle": "modularpowerarmor:models/luxcapacitor" 7 | } 8 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/armor/json/jetpack.json: -------------------------------------------------------------------------------- 1 | { 2 | "forge_marker": 1, 3 | "defaults": { 4 | "textures": {}, 5 | "custom": { "flip-v": true }, 6 | "model": "modularpowerarmor:armor/jetpack.obj" 7 | }, 8 | "variants": { 9 | "normal": [{}] 10 | } 11 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/armor/json/mps_arms.json: -------------------------------------------------------------------------------- 1 | { 2 | "forge_marker": 1, 3 | "defaults": { 4 | "textures": {}, 5 | "custom": { "flip-v": true }, 6 | "model": "modularpowerarmor:armor/mps_arms.obj" 7 | }, 8 | "variants": { 9 | "normal": [{}] 10 | } 11 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/armor/json/mps_boots.json: -------------------------------------------------------------------------------- 1 | { 2 | "forge_marker": 1, 3 | "defaults": { 4 | "textures": {}, 5 | "custom": { "flip-v": true }, 6 | "model": "modularpowerarmor:armor/mps_boots.obj" 7 | }, 8 | "variants": { 9 | "normal": [{}] 10 | } 11 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/armor/json/mps_chest.json: -------------------------------------------------------------------------------- 1 | { 2 | "forge_marker": 1, 3 | "defaults": { 4 | "textures": {}, 5 | "custom": { "flip-v": true }, 6 | "model": "modularpowerarmor:armor/mps_chest.obj" 7 | }, 8 | "variants": { 9 | "normal": [{}] 10 | } 11 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/armor/json/mps_helm.json: -------------------------------------------------------------------------------- 1 | { 2 | "forge_marker": 1, 3 | "defaults": { 4 | "textures": {}, 5 | "custom": { "flip-v": true }, 6 | "model": "modularpowerarmor:armor/mps_helm.obj" 7 | }, 8 | "variants": { 9 | "normal": [{}] 10 | } 11 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/block/luxcapacitor.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/block", 3 | "loader": "mpalib:obj", 4 | "model": "modularpowerarmor:models/block/luxcapacitor/luxcapacitor.obj", 5 | "flip-v": true, 6 | "textures": { 7 | "particle": "modularpowerarmor:models/luxcapacitor" 8 | } 9 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/armor/json/mps_pantaloons.json: -------------------------------------------------------------------------------- 1 | { 2 | "forge_marker": 1, 3 | "defaults": { 4 | "textures": {}, 5 | "custom": { "flip-v": true }, 6 | "model": "modularpowerarmor:armor/mps_pantaloons.obj" 7 | }, 8 | "variants": { 9 | "normal": [{}] 10 | } 11 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/block/mpa_workbench.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/block", 3 | "loader": "forge:obj", 4 | "model": "modularpowerarmor:models/block/powerarmor_workbench.obj", 5 | "flip-v": true, 6 | "textures": { 7 | "particle": "modularpowerarmor:block/modularpowerarmorworkbench" 8 | } 9 | } -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/item/armor/PowerArmorBoots.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.item.armor; 2 | 3 | import net.minecraft.inventory.EquipmentSlotType; 4 | 5 | public class PowerArmorBoots extends AbstractElectricItemArmor { 6 | public PowerArmorBoots() { 7 | super(EquipmentSlotType.FEET); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/item/armor/PowerArmorHelmet.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.item.armor; 2 | 3 | import net.minecraft.inventory.EquipmentSlotType; 4 | 5 | public class PowerArmorHelmet extends AbstractElectricItemArmor { 6 | public PowerArmorHelmet() { 7 | super(EquipmentSlotType.HEAD); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/item/armor/PowerArmorLeggings.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.item.armor; 2 | 3 | import net.minecraft.inventory.EquipmentSlotType; 4 | 5 | public class PowerArmorLeggings extends AbstractElectricItemArmor { 6 | public PowerArmorLeggings() { 7 | super(EquipmentSlotType.LEGS); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/entity/bolt.mtl: -------------------------------------------------------------------------------- 1 | # Blender MTL File: 'None' 2 | # Material Count: 1 3 | 4 | newmtl Material 5 | map_Kd mpalib:models/white 6 | Ns 323.999994 7 | Ka 1.000000 1.000000 1.000000 8 | Kd 0.800000 0.800000 0.800000 9 | Ks 0.500000 0.500000 0.500000 10 | Ke 0.000000 0.000000 0.000000 11 | Ni 1.450000 12 | d 1.000000 13 | illum 2 14 | -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/item/armor/PowerArmorChestplate.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.item.armor; 2 | 3 | import net.minecraft.inventory.EquipmentSlotType; 4 | 5 | public class PowerArmorChestplate extends AbstractElectricItemArmor { 6 | public PowerArmorChestplate() { 7 | super(EquipmentSlotType.CHEST); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/network/NetworkHelper.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.network; 2 | 3 | import net.minecraft.client.Minecraft; 4 | import net.minecraft.entity.player.PlayerEntity; 5 | 6 | public class NetworkHelper { 7 | public static PlayerEntity getClientPlayer() { 8 | return Minecraft.getInstance().player; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # ForgeGradle 2 | /.gradle 3 | /build 4 | /run 5 | /libs 6 | 7 | #Backup files 8 | /BU 9 | 10 | # Eclipse 11 | .classpath 12 | .project 13 | /.settings 14 | /bin 15 | 16 | # Numina while porting 17 | #/src/main/java/net/machinemuse/numina 18 | #/src/main/scala/net/machinemuse/numina 19 | 20 | # IntelliJ 21 | /.idea 22 | *.iml 23 | *.ipr 24 | *.iws 25 | /out 26 | 27 | # Mac Stuff 28 | .DS_Store 29 | *.command 30 | -------------------------------------------------------------------------------- /TODO.txt: -------------------------------------------------------------------------------- 1 | ** railgun bolt launches from different points in the player's view, still... very annoying 2 | 3 | 4 | Module installation GUI no longer really fits... needs redesign 5 | cosmetic gui needs preset design system restored but set up for single player only or maybe use something like tabula 6 | merge recipe creator into MPA-Lib?... maybe use something like tabula 7 | still no Elytra-based flight rendering (it's almost 2021, time to get this done!) -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/block/luxcapacitor.mtl: -------------------------------------------------------------------------------- 1 | # Blender MTL File: 'LuxCapacitor.blend' 2 | # Material Count: 2 3 | 4 | newmtl BaseMaterial 5 | Ka 1.000000 1.000000 1.000000 6 | Kd 0.640000 0.640000 0.640000 7 | d 1.000000 8 | map_Kd modularpowerarmor:models/luxcapacitor 9 | 10 | newmtl LensMaterial 11 | Ka 1.000000 1.000000 1.000000 12 | Kd 0.588000 0.588000 0.588000 13 | d 1.000000 14 | map_Kd modularpowerarmor:models/luxcapacitor 15 | -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/loot_tables/blocks/workbench.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "minecraft:block", 3 | "pools": [ 4 | { 5 | "rolls": 1, 6 | "entries": [ 7 | { 8 | "type": "minecraft:item", 9 | "name": "modularpowerarmor:mpa_workbench" 10 | } 11 | ], 12 | "conditions": [ 13 | { 14 | "condition": "minecraft:survives_explosion" 15 | } 16 | ] 17 | } 18 | ] 19 | } -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/client/render/item/TinkerTableISTR.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.client.render.item; 2 | 3 | import com.github.lehjr.modularpowerarmor.client.model.block.TinkerTableModel; 4 | import net.minecraft.client.renderer.tileentity.ItemStackTileEntityRenderer; 5 | 6 | public class TinkerTableISTR extends ItemStackTileEntityRenderer { 7 | 8 | 9 | 10 | TinkerTableModel model = new TinkerTableModel(); 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/container/IModularItemToSlotMapProvider.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.container; 2 | 3 | import net.minecraft.inventory.container.Container; 4 | import net.minecraftforge.items.SlotItemHandler; 5 | 6 | import java.util.List; 7 | import java.util.Map; 8 | 9 | public interface IModularItemToSlotMapProvider { 10 | Map> getModularItemToSlotMap(); 11 | 12 | T getContainer(); 13 | } 14 | -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/block/luxcapacitor/luxcapacitor_lens.obj: -------------------------------------------------------------------------------- 1 | # Blender v2.78 (sub 0) OBJ File: 'LuxCapacitor.blend' 2 | # www.blender.org 3 | mtllib luxcapacitor.mtl 4 | o lightlens 5 | v 0.285856 0.707035 0.231745 6 | v 0.285856 0.277897 0.231745 7 | v 0.714994 0.277897 0.231745 8 | v 0.714994 0.707035 0.231745 9 | vt 0.0820 0.0898 10 | vt 0.3633 0.0898 11 | vt 0.3633 0.3867 12 | vt 0.0820 0.3867 13 | vn -0.0000 0.0000 1.0000 14 | usemtl LensMaterial 15 | f 1/1/1 2/2/1 3/3/1 4/4/1 16 | -------------------------------------------------------------------------------- /bu_1.16.3/com/github/lehjr/modularpowerarmor/basemod/MPAConstants.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.basemod; 2 | 3 | public class MPAConstants { 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | /** 17 | * Modules ------------------------------------------------------------------------------------ 18 | */ 19 | 20 | public static final String IS_MODULE_ALLOWED ="isModuleAllowed"; 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 4 38 | 39 | } 40 | -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/powerarmor_feet.json: -------------------------------------------------------------------------------- 1 | { 2 | "conditions": [ 3 | { 4 | "type": "modularpowerarmor:flag", 5 | "flag": "vanilla_recipes_enabled" 6 | } 7 | ], 8 | "type": "minecraft:crafting_shaped", 9 | "pattern": [ 10 | "W W", 11 | "I I" 12 | ], 13 | "key": { 14 | "I": { 15 | "tag": "forge:ingots/iron" 16 | }, 17 | "W": { 18 | "item":"mpalib:component_wiring" 19 | } 20 | }, 21 | "result": { 22 | "item": "modularpowerarmor:powerarmor_feet" 23 | } 24 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/powerarmor_head.json: -------------------------------------------------------------------------------- 1 | { 2 | "conditions": [ 3 | { 4 | "type": "modularpowerarmor:flag", 5 | "flag": "vanilla_recipes_enabled" 6 | } 7 | ], 8 | "type": "minecraft:crafting_shaped", 9 | "pattern": [ 10 | "III", 11 | "W W" 12 | ], 13 | "key": { 14 | "I": { 15 | "tag": "forge:ingots/iron" 16 | }, 17 | "W": { 18 | "item":"mpalib:component_wiring" 19 | } 20 | }, 21 | "result": { 22 | "item": "modularpowerarmor:powerarmor_head" 23 | } 24 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/power_fist.json: -------------------------------------------------------------------------------- 1 | { 2 | "conditions": [ 3 | { 4 | "type": "modularpowerarmor:flag", 5 | "flag": "vanilla_recipes_enabled" 6 | } 7 | ], 8 | "type": "minecraft:crafting_shaped", 9 | "pattern": [ 10 | " W ", 11 | "WI ", 12 | " IW" 13 | ], 14 | "key": { 15 | "I": { 16 | "tag": "forge:ingots/iron" 17 | }, 18 | "W": { 19 | "item":"mpalib:component_wiring" 20 | } 21 | }, 22 | "result": { 23 | "item": "modularpowerarmor:powerfist" 24 | } 25 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/powerarmor_legs.json: -------------------------------------------------------------------------------- 1 | { 2 | "conditions": [ 3 | { 4 | "type": "modularpowerarmor:flag", 5 | "flag": "vanilla_recipes_enabled" 6 | } 7 | ], 8 | "type": "minecraft:crafting_shaped", 9 | "pattern": [ 10 | "III", 11 | "W W", 12 | "I I" 13 | ], 14 | "key": { 15 | "I": { 16 | "tag": "forge:ingots/iron" 17 | }, 18 | "W": { 19 | "item":"mpalib:component_wiring" 20 | } 21 | }, 22 | "result": { 23 | "item": "modularpowerarmor:powerarmor_legs" 24 | } 25 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/powerarmor_torso.json: -------------------------------------------------------------------------------- 1 | { 2 | "conditions": [ 3 | { 4 | "type": "modularpowerarmor:flag", 5 | "flag": "vanilla_recipes_enabled" 6 | } 7 | ], 8 | "type": "minecraft:crafting_shaped", 9 | "pattern": [ 10 | "I I", 11 | "WIW", 12 | "III" 13 | ], 14 | "key": { 15 | "I": { 16 | "tag": "forge:ingots/iron" 17 | }, 18 | "W": { 19 | "item":"mpalib:component_wiring" 20 | } 21 | }, 22 | "result": { 23 | "item": "modularpowerarmor:powerarmor_torso" 24 | } 25 | } -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | *.sln merge=union 7 | *.csproj merge=union 8 | *.vbproj merge=union 9 | *.fsproj merge=union 10 | *.dbproj merge=union 11 | 12 | # Standard to msysgit 13 | *.doc diff=astextplain 14 | *.DOC diff=astextplain 15 | *.docx diff=astextplain 16 | *.DOCX diff=astextplain 17 | *.dot diff=astextplain 18 | *.DOT diff=astextplain 19 | *.pdf diff=astextplain 20 | *.PDF diff=astextplain 21 | *.rtf diff=astextplain 22 | *.RTF diff=astextplain 23 | -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/power_fist.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:powerfist" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "forge:mod_loaded", 8 | "modid": "centralizedmaterials" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | " F ", 15 | "FO ", 16 | " OF" 17 | ], 18 | "key": { 19 | "F": { 20 | "tag": "forge:wiring" 21 | }, 22 | "O": { 23 | "tag": "forge:ingots/steel" 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Sets default memory used for gradle commands. Can be overridden by user or command line properties. 2 | # This is required to provide enough memory for the Minecraft decompilation process. 3 | org.gradle.jvmargs=-Xmx3G 4 | org.gradle.daemon=false 5 | 6 | minecraft_version=1.16.4 7 | mcp_version=20201028-1.16.3 8 | forge_version=35.1.4 9 | mod_version=2.0 10 | libs_dir=libs/ 11 | 12 | group_id=com.github.lehjr.modularpowerarmor 13 | mod_id=modularpowerarmor 14 | mpalib_version=2.0.1 15 | caelus_version=1.0.1.2 16 | jei_version=7.6.0.53 17 | top_version=1.15:1.15-2.0.2-4 18 | -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/armor/leather_plating.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:plating_leather" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "forge:mod_loaded", 8 | "modid": "centralizedmaterials" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | "FF ", 15 | "OF ", 16 | "FF " 17 | ], 18 | "key": { 19 | "F": { 20 | "tag": "forge:leather" 21 | }, 22 | "O": { 23 | "tag": "forge:wiring" 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/power_armor_boots.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:powerarmor_feet" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "forge:mod_loaded", 8 | "modid": "centralizedmaterials" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | " ", 15 | "F F", 16 | "O O" 17 | ], 18 | "key": { 19 | "F": { 20 | "tag": "forge:ingots/steel" 21 | }, 22 | "O": { 23 | "tag": "forge:wiring" 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/power_armor_helmet.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:powerarmor_head" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "forge:mod_loaded", 8 | "modid": "centralizedmaterials" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | " ", 15 | "FFF", 16 | "O O" 17 | ], 18 | "key": { 19 | "F": { 20 | "tag": "forge:ingots/steel" 21 | }, 22 | "O": { 23 | "tag": "forge:wiring" 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/power_armor_leggings.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:powerarmor_legs" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "forge:mod_loaded", 8 | "modid": "centralizedmaterials" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | "FFF", 15 | "O O", 16 | "F F" 17 | ], 18 | "key": { 19 | "F": { 20 | "tag": "forge:ingots/steel" 21 | }, 22 | "O": { 23 | "tag": "forge:wiring" 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/armor/iron_plating.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:plating_iron" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "modularpowerarmor:flag", 8 | "flag": "vanilla_recipes_enabled" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | "FF ", 15 | "OF ", 16 | "FF " 17 | ], 18 | "key": { 19 | "F": { 20 | "tag": "forge:ingots/iron" 21 | }, 22 | "O": { 23 | "tag": "forge:wiring" 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/modules/armor/iron_plating.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:plating_iron" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "forge:mod_loaded", 8 | "modid": "centralizedmaterials" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | "FF ", 15 | "OF ", 16 | "FF " 17 | ], 18 | "key": { 19 | "F": { 20 | "tag": "forge:ingots/steel" 21 | }, 22 | "O": { 23 | "tag": "forge:wiring" 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/modules/armor/leather_plating.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:plating_leather" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "forge:mod_loaded", 8 | "modid": "centralizedmaterials" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | "FF ", 15 | "OF ", 16 | "FF " 17 | ], 18 | "key": { 19 | "F": { 20 | "tag": "forge:leather" 21 | }, 22 | "O": { 23 | "tag": "forge:wiring" 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/power_armor_chestplate.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:powerarmor_torso" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "forge:mod_loaded", 8 | "modid": "centralizedmaterials" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | "F F", 15 | "OFO", 16 | "FFF" 17 | ], 18 | "key": { 19 | "F": { 20 | "tag": "forge:ingots/steel" 21 | }, 22 | "O": { 23 | "tag": "forge:wiring" 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/armor/diamond_plating.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:plating_diamond" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "modularpowerarmor:flag", 8 | "flag": "vanilla_recipes_enabled" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | "FF ", 15 | "OF ", 16 | "FF " 17 | ], 18 | "key": { 19 | "F": { 20 | "tag": "forge:gems/diamond" 21 | }, 22 | "O": { 23 | "tag": "forge:wiring" 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/modules/armor/diamond_plating.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:plating_diamond" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "forge:mod_loaded", 8 | "modid": "centralizedmaterials" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | "FF ", 15 | "OF ", 16 | "FF " 17 | ], 18 | "key": { 19 | "F": { 20 | "tag": "forge:gems/diamond" 21 | }, 22 | "O": { 23 | "tag": "forge:wiring" 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/client/model/item/ModelWrapper.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.client.model.item; 2 | 3 | import net.minecraft.client.renderer.model.IBakedModel; 4 | import net.minecraft.client.renderer.model.ItemOverrideList; 5 | import net.minecraftforge.client.model.BakedModelWrapper; 6 | 7 | public class ModelWrapper extends BakedModelWrapper { 8 | public ModelWrapper(IBakedModel originalModel) { 9 | super(originalModel); 10 | } 11 | 12 | @Override 13 | public ItemOverrideList getOverrides() { 14 | return super.getOverrides(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/mining_enhancement/aoe_module.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:aoe_pick_upgrade" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "modularpowerarmor:flag", 8 | "flag": "vanilla_recipes_enabled" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | "FFF", 15 | "FCF", 16 | "FFF" 17 | ], 18 | "key": { 19 | "C": { 20 | "item": "mpalib:component_control_circuit" 21 | }, 22 | "F": { 23 | "tag": "forge:solenoid" 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/modules/mining_enhancement/aoe_module.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:aoe_pick_upgrade" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "forge:mod_loaded", 8 | "modid": "centralizedmaterials" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | "FFF", 15 | "FCF", 16 | "FFF" 17 | ], 18 | "key": { 19 | "C": { 20 | "item": "mpalib:component_control_circuit" 21 | }, 22 | "F": { 23 | "tag": "forge:solenoid" 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/tool/clock.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:clock" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "modularpowerarmor:flag", 8 | "flag": "vanilla_recipes_enabled" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | " C ", 15 | "FOF", 16 | " F " 17 | ], 18 | "key": { 19 | "C": { 20 | "item": "minecraft:clock" 21 | }, 22 | "F": { 23 | "tag": "forge:wiring" 24 | }, 25 | "O": { 26 | "item": "mpalib:component_control_circuit" 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/vision/binoculars.json: -------------------------------------------------------------------------------- 1 | { 2 | "conditions": [ 3 | { 4 | "type": "modularpowerarmor:flag", 5 | "flag": "vanilla_recipes_enabled" 6 | } 7 | ], 8 | "type": "minecraft:crafting_shaped", 9 | "pattern": [ 10 | "WWW", 11 | "WCW", 12 | "WLW" 13 | ], 14 | "key": { 15 | "W": { 16 | "tag": "forge:wiring" 17 | }, 18 | "L": { 19 | "item": "mpalib:component_laser_emitter" 20 | }, 21 | "C": { 22 | "item":"mpalib:component_control_circuit" 23 | } 24 | }, 25 | "result": { 26 | "item": "modularpowerarmor:binoculars" 27 | } 28 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/modules/tool/clock.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:clock" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "forge:mod_loaded", 8 | "modid": "centralizedmaterials" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | " C ", 15 | "FOF", 16 | " F " 17 | ], 18 | "key": { 19 | "C": { 20 | "item": "minecraft:clock" 21 | }, 22 | "F": { 23 | "tag": "forge:wiring" 24 | }, 25 | "O": { 26 | "item": "mpalib:component_control_circuit" 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/armor/energy_shield.json: -------------------------------------------------------------------------------- 1 | { 2 | "conditions": [ 3 | { 4 | "type": "modularpowerarmor:flag", 5 | "flag": "vanilla_recipes_enabled" 6 | } 7 | ], 8 | "type": "minecraft:crafting_shaped", 9 | "pattern": [ 10 | "WEW", 11 | "WCW", 12 | "WEW" 13 | ], 14 | "key": { 15 | "W": { 16 | "tag": "forge:wiring" 17 | }, 18 | "C": { 19 | "item":"mpalib:component_control_circuit" 20 | }, 21 | "E": { 22 | "item": "mpalib:component_field_emitter" 23 | } 24 | }, 25 | "result": { 26 | "item": "modularpowerarmor:energy_shield" 27 | } 28 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/tool/compass.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:compass" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "modularpowerarmor:flag", 8 | "flag": "vanilla_recipes_enabled" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | " C ", 15 | "FOF", 16 | " F " 17 | ], 18 | "key": { 19 | "C": { 20 | "item": "minecraft:compass" 21 | }, 22 | "F": { 23 | "tag": "forge:wiring" 24 | }, 25 | "O": { 26 | "item": "mpalib:component_control_circuit" 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/vision/nightvision.json: -------------------------------------------------------------------------------- 1 | { 2 | "conditions": [ 3 | { 4 | "type": "modularpowerarmor:flag", 5 | "flag": "vanilla_recipes_enabled" 6 | } 7 | ], 8 | "type": "minecraft:crafting_shaped", 9 | "pattern": [ 10 | "WLW", 11 | "WCW", 12 | "WLW" 13 | ], 14 | "key": { 15 | "W": { 16 | "tag": "forge:wiring" 17 | }, 18 | "L": { 19 | "item": "mpalib:component_laser_emitter" 20 | }, 21 | "C": { 22 | "item":"mpalib:component_control_circuit" 23 | } 24 | }, 25 | "result": { 26 | "item": "modularpowerarmor:night_vision" 27 | } 28 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/modules/tool/compass.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:compass" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "forge:mod_loaded", 8 | "modid": "centralizedmaterials" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | " C ", 15 | "FOF", 16 | " F " 17 | ], 18 | "key": { 19 | "C": { 20 | "item": "minecraft:compass" 21 | }, 22 | "F": { 23 | "tag": "forge:wiring" 24 | }, 25 | "O": { 26 | "item": "mpalib:component_control_circuit" 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/cosmetic/transparent_armor.json: -------------------------------------------------------------------------------- 1 | { 2 | "conditions": [ 3 | { 4 | "type": "modularpowerarmor:flag", 5 | "flag": "vanilla_recipes_enabled" 6 | } 7 | ], 8 | "type": "minecraft:crafting_shaped", 9 | "pattern": [ 10 | "WW", 11 | "LC", 12 | "WW" 13 | ], 14 | "key": { 15 | "W": { 16 | "tag": "forge:wiring" 17 | }, 18 | "C": { 19 | "item":"mpalib:component_control_circuit" 20 | }, 21 | "L": { 22 | "item": "mpalib:component_laser_emitter" 23 | } 24 | }, 25 | "result": { 26 | "item": "modularpowerarmor:transparent_armor" 27 | } 28 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/weapon/melee_assist.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:melee_assist" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "modularpowerarmor:flag", 8 | "flag": "vanilla_recipes_enabled" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | " F ", 15 | " C ", 16 | "I I" 17 | ], 18 | "key": { 19 | "C": { 20 | "item": "mpalib:component_control_circuit" 21 | }, 22 | "F": { 23 | "tag": "forge:servo" 24 | }, 25 | "I": { 26 | "tag": "forge:ingots/iron" 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/modules/weapon/melee_assist.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:melee_assist" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "forge:mod_loaded", 8 | "modid": "centralizedmaterials" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | " F ", 15 | " C ", 16 | "O O" 17 | ], 18 | "key": { 19 | "C": { 20 | "item": "mpalib:component_control_circuit" 21 | }, 22 | "F": { 23 | "tag": "forge:servo" 24 | }, 25 | "O": { 26 | "tag": "forge:ingots/steel" 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/block/luxcapacitor/luxcapacitor.mtl: -------------------------------------------------------------------------------- 1 | # Blender MTL File: 'None' 2 | # Material Count: 2 3 | 4 | newmtl BaseMaterial 5 | Ns 0.000000 6 | Ka 1.000000 1.000000 1.000000 7 | Kd 0.640000 0.640000 0.640000 8 | Ks 0.000000 0.000000 0.000000 9 | Ke 0.000000 0.000000 0.000000 10 | Ni 1.450000 11 | d 1.000000 12 | illum 1 13 | map_Kd modularpowerarmor:models/luxcapacitor 14 | 15 | newmtl LensMaterial 16 | Ns 0.000000 17 | Ka 1.000000 1.000000 1.000000 18 | Kd 0.588000 0.588000 0.588000 19 | Ks 0.000000 0.000000 0.000000 20 | Ke 0.000000 0.000000 0.000000 21 | Ni 1.450000 22 | d 1.000000 23 | illum 1 24 | map_Kd modularpowerarmor:models/luxcapacitor 25 | -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/modules/armor/energy_shield.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:energy_shield" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "forge:mod_loaded", 8 | "modid": "centralizedmaterials" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | "FCF", 15 | "FOF", 16 | "FCF" 17 | ], 18 | "key": { 19 | "C": { 20 | "item": "mpalib:component_field_emitter" 21 | }, 22 | "F": { 23 | "tag": "forge:wiring" 24 | }, 25 | "O": { 26 | "item": "mpalib:component_control_circuit" 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/basemod/MPACreativeTab.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.basemod; 2 | 3 | import net.minecraft.item.Item; 4 | import net.minecraft.item.ItemGroup; 5 | import net.minecraft.item.ItemStack; 6 | import net.minecraftforge.api.distmarker.Dist; 7 | import net.minecraftforge.api.distmarker.OnlyIn; 8 | 9 | public class MPACreativeTab extends ItemGroup { 10 | public MPACreativeTab() { 11 | super(MPAConstants.MOD_ID); 12 | } 13 | 14 | @OnlyIn(Dist.CLIENT) 15 | @Override 16 | public ItemStack createIcon() { 17 | Item item = MPAObjects.POWER_ARMOR_HELMET.get(); 18 | return new ItemStack(item); 19 | } 20 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/mining_enhancement/vein_miner.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:vein_miner" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "modularpowerarmor:flag", 8 | "flag": "vanilla_recipes_enabled" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | "CFC", 15 | "FOF", 16 | "CFC" 17 | ], 18 | "key": { 19 | "C": { 20 | "item": "mpalib:component_computer_chip" 21 | }, 22 | "F": { 23 | "tag": "forge:solenoid" 24 | }, 25 | "O": { 26 | "item": "mpalib:component_control_circuit" 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/tool/shears.json: -------------------------------------------------------------------------------- 1 | { 2 | "conditions": [ 3 | { 4 | "type": "modularpowerarmor:flag", 5 | "flag": "vanilla_recipes_enabled" 6 | } 7 | ], 8 | "type": "minecraft:crafting_shaped", 9 | "pattern": [ 10 | "I I", 11 | "WCW", 12 | " S " 13 | ], 14 | "key": { 15 | "W": { 16 | "tag": "forge:wiring" 17 | }, 18 | "I": { 19 | "tag": "forge:ingots/iron" 20 | }, 21 | "C": { 22 | "item":"mpalib:component_control_circuit" 23 | }, 24 | "S": { 25 | "tag":"forge:solenoid" 26 | } 27 | }, 28 | "result": { 29 | "item": "modularpowerarmor:shears" 30 | } 31 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/tool/shovel.json: -------------------------------------------------------------------------------- 1 | { 2 | "conditions": [ 3 | { 4 | "type": "modularpowerarmor:flag", 5 | "flag": "vanilla_recipes_enabled" 6 | } 7 | ], 8 | "type": "minecraft:crafting_shaped", 9 | "pattern": [ 10 | "III", 11 | "WCW", 12 | " S " 13 | ], 14 | "key": { 15 | "W": { 16 | "tag": "forge:wiring" 17 | }, 18 | "I": { 19 | "tag": "forge:ingots/iron" 20 | }, 21 | "C": { 22 | "item":"mpalib:component_control_circuit" 23 | }, 24 | "S": { 25 | "tag":"forge:solenoid" 26 | } 27 | }, 28 | "result": { 29 | "item": "modularpowerarmor:shovel" 30 | } 31 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/mpa_workbench.json: -------------------------------------------------------------------------------- 1 | { 2 | "conditions": [ 3 | { 4 | "type": "modularpowerarmor:flag", 5 | "flag": "vanilla_recipes_enabled" 6 | } 7 | ], 8 | "type": "minecraft:crafting_shaped", 9 | "pattern": [ 10 | "IBI", 11 | "BCB", 12 | "GBG" 13 | ], 14 | "key": { 15 | "I": { 16 | "tag": "forge:ingots/iron" 17 | }, 18 | "C" : { 19 | "item": "minecraft:crafting_table" 20 | }, 21 | "B": { 22 | "tag": "forge:dyes/blue" 23 | }, 24 | "G": { 25 | "tag": "forge:ingots/gold" 26 | } 27 | }, 28 | "result": { 29 | "item": "modularpowerarmor:mpa_workbench" 30 | } 31 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/modules/mining_enhancement/vein_miner.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:vein_miner" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "forge:mod_loaded", 8 | "modid": "centralizedmaterials" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | "CFC", 15 | "FOF", 16 | "CFC" 17 | ], 18 | "key": { 19 | "C": { 20 | "item": "mpalib:component_computer_chip" 21 | }, 22 | "F": { 23 | "tag": "forge:solenoid" 24 | }, 25 | "O": { 26 | "item": "mpalib:component_control_circuit" 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/modules/tool/portable_crafting_table.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:portable_crafting_table" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "forge:mod_loaded", 8 | "modid": "centralizedmaterials" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | " C ", 15 | "FOF", 16 | " F " 17 | ], 18 | "key": { 19 | "C": { 20 | "item": "minecraft:crafting_table" 21 | }, 22 | "F": { 23 | "tag": "forge:wiring" 24 | }, 25 | "O": { 26 | "item": "mpalib:component_control_circuit" 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/tool/portable_crafting_table.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:portable_crafting_table" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "modularpowerarmor:flag", 8 | "flag": "vanilla_recipes_enabled" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | " C ", 15 | "OMO", 16 | " O " 17 | ], 18 | "key": { 19 | "C": { 20 | "item": "minecraft:crafting_table" 21 | }, 22 | "M": { 23 | "item": "mpalib:component_control_circuit" 24 | }, 25 | "O": { 26 | "item": "mpalib:component_wiring" 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: "[Request] " 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/weapon/blade_launcher.json: -------------------------------------------------------------------------------- 1 | { 2 | "conditions": [ 3 | { 4 | "type": "modularpowerarmor:flag", 5 | "flag": "vanilla_recipes_enabled" 6 | } 7 | ], 8 | "type": "minecraft:crafting_shaped", 9 | "pattern": [ 10 | "WMW", 11 | "WCW", 12 | "WSW" 13 | ], 14 | "key": { 15 | "W": { 16 | "tag": "forge:wiring" 17 | }, 18 | "M": { 19 | "item": "mpalib:battery_advanced" 20 | }, 21 | "C": { 22 | "item":"mpalib:component_control_circuit" 23 | }, 24 | "S": { 25 | "tag": "forge:servo" 26 | } 27 | }, 28 | "result": { 29 | "item": "modularpowerarmor:blade_launcher" 30 | } 31 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/weapon/lightning.json: -------------------------------------------------------------------------------- 1 | { 2 | "conditions": [ 3 | { 4 | "type": "modularpowerarmor:flag", 5 | "flag": "vanilla_recipes_enabled" 6 | } 7 | ], 8 | "type": "minecraft:crafting_shaped", 9 | "pattern": [ 10 | "WHW", 11 | "WFW", 12 | "WSW" 13 | ], 14 | "key": { 15 | "W": { 16 | "tag": "forge:wiring" 17 | }, 18 | "H": { 19 | "item": "mpalib:battery_ultimate" 20 | }, 21 | "F": { 22 | "item":"mpalib:component_field_emitter" 23 | }, 24 | "S": { 25 | "tag": "forge:solenoid" 26 | } 27 | }, 28 | "result": { 29 | "item": "modularpowerarmor:lightning_summoner" 30 | } 31 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/workbench.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:workbench" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "forge:mod_loaded", 8 | "modid": "centralizedmaterials" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | "FOF", 15 | "OCO", 16 | "ROR" 17 | ], 18 | "key": { 19 | "R": { 20 | "tag": "forge:ingots/electrum" 21 | }, 22 | "C": { 23 | "item": "minecraft:crafting_table" 24 | }, 25 | "F": { 26 | "tag": "forge:ingots/copper" 27 | }, 28 | "O": { 29 | "tag": "forge:dyes/blue" 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/modules/tool/shovel.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:shovel" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "forge:mod_loaded", 8 | "modid": "centralizedmaterials" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | "FFF", 15 | "OCO", 16 | " R " 17 | ], 18 | "key": { 19 | "R": { 20 | "tag": "forge:solenoid" 21 | }, 22 | "C": { 23 | "item": "mpalib:component_control_circuit" 24 | }, 25 | "F": { 26 | "tag": "forge:ingots/steel" 27 | }, 28 | "O": { 29 | "tag": "forge:wiring" 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/modules/tool/vein_miner.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:vein_miner" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "forge:mod_loaded", 8 | "modid": "centralizedmaterials" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | " F ", 15 | "OCO", 16 | "FRF" 17 | ], 18 | "key": { 19 | "R": { 20 | "tag": "forge:servo" 21 | }, 22 | "C": { 23 | "item": "mpalib:component_computer_chip" 24 | }, 25 | "F": { 26 | "tag": "forge:ingots/steel" 27 | }, 28 | "O": { 29 | "tag": "forge:wiring" 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/energy/generation/kinetic_generator.json: -------------------------------------------------------------------------------- 1 | { 2 | "conditions": [ 3 | { 4 | "type": "modularpowerarmor:flag", 5 | "flag": "vanilla_recipes_enabled" 6 | } 7 | ], 8 | "type": "minecraft:crafting_shaped", 9 | "pattern": [ 10 | "ISI", 11 | "WCW", 12 | "ISI" 13 | ], 14 | "key": { 15 | "I": { 16 | "item": "mpalib:component_plating_iron" 17 | }, 18 | "W": { 19 | "tag": "forge:wiring" 20 | }, 21 | "C": { 22 | "item":"mpalib:component_control_circuit" 23 | }, 24 | "S": { 25 | "tag":"forge:servo" 26 | } 27 | }, 28 | "result": { 29 | "item": "modularpowerarmor:generator_kinetic" 30 | } 31 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/energy/generation/solar_generator.json: -------------------------------------------------------------------------------- 1 | { 2 | "conditions": [ 3 | { 4 | "type": "modularpowerarmor:flag", 5 | "flag": "vanilla_recipes_enabled" 6 | } 7 | ], 8 | "type": "minecraft:crafting_shaped", 9 | "pattern": [ 10 | "WCW", 11 | "ISI", 12 | "WCW" 13 | ], 14 | "key": { 15 | "W": { 16 | "tag": "forge:wiring" 17 | }, 18 | "C": { 19 | "item":"mpalib:component_control_circuit" 20 | }, 21 | "S": { 22 | "item":"mpalib:component_solar_panel" 23 | }, 24 | "I": { 25 | "tag": "forge:ingots/iron" 26 | } 27 | }, 28 | "result": { 29 | "item": "modularpowerarmor:generator_solar" 30 | } 31 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/energy/generation/thermal_generator.json: -------------------------------------------------------------------------------- 1 | { 2 | "conditions": [ 3 | { 4 | "type": "modularpowerarmor:flag", 5 | "flag": "vanilla_recipes_enabled" 6 | } 7 | ], 8 | "type": "minecraft:crafting_shaped", 9 | "pattern": [ 10 | "DSD", 11 | "WCW", 12 | "DSD" 13 | ], 14 | "key": { 15 | "D": { 16 | "item": "mpalib:component_plating_diamond" 17 | }, 18 | "W": { 19 | "tag": "forge:wiring" 20 | }, 21 | "C": { 22 | "item":"mpalib:component_control_circuit" 23 | }, 24 | "S": { 25 | "tag":"forge:servo" 26 | } 27 | }, 28 | "result": { 29 | "item": "modularpowerarmor:generator_thermal" 30 | } 31 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/tool/axe.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:axe" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "modularpowerarmor:flag", 8 | "flag": "vanilla_recipes_enabled" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | " ", 15 | "COC", 16 | "IMI" 17 | ], 18 | "key": { 19 | "C": { 20 | "item": "mpalib:component_wiring" 21 | }, 22 | "I": { 23 | "item": "minecraft:iron_ingot" 24 | }, 25 | "M": { 26 | "item": "mpalib:component_solenoid" 27 | }, 28 | "O": { 29 | "item": "mpalib:component_control_circuit" 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/modules/tool/pickaxe.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:pickaxe" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "forge:mod_loaded", 8 | "modid": "centralizedmaterials" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | " F ", 15 | "COC", 16 | "FMF" 17 | ], 18 | "key": { 19 | "C": { 20 | "item": "mpalib:component_wiring" 21 | }, 22 | "F": { 23 | "tag": "forge:ingots/steel" 24 | }, 25 | "M": { 26 | "tag": "forge:solenoid" 27 | }, 28 | "O": { 29 | "item": "mpalib:component_control_circuit" 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/weapon/railgun.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:railgun" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "modularpowerarmor:flag", 8 | "flag": "vanilla_recipes_enabled" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | "FOC", 15 | "CMF", 16 | "FOC" 17 | ], 18 | "key": { 19 | "C": { 20 | "item": "mpalib:component_computer_chip" 21 | }, 22 | "F": { 23 | "tag": "forge:solenoid" 24 | }, 25 | "M": { 26 | "item": "mpalib:component_control_circuit" 27 | }, 28 | "O": { 29 | "tag": "forge:ingots/gold" 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/tool/pickaxe.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:pickaxe" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "modularpowerarmor:flag", 8 | "flag": "vanilla_recipes_enabled" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | " I ", 15 | "COC", 16 | "IMI" 17 | ], 18 | "key": { 19 | "C": { 20 | "item": "mpalib:component_wiring" 21 | }, 22 | "I": { 23 | "item": "minecraft:iron_ingot" 24 | }, 25 | "M": { 26 | "item": "mpalib:component_solenoid" 27 | }, 28 | "O": { 29 | "item": "mpalib:component_control_circuit" 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/tool/rototiller.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:hoe" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "modularpowerarmor:flag", 8 | "flag": "vanilla_recipes_enabled" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | " I ", 15 | "COC", 16 | " M " 17 | ], 18 | "key": { 19 | "C": { 20 | "item": "mpalib:component_wiring" 21 | }, 22 | "I": { 23 | "item": "minecraft:iron_ingot" 24 | }, 25 | "M": { 26 | "item": "mpalib:component_solenoid" 27 | }, 28 | "O": { 29 | "item": "mpalib:component_control_circuit" 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/weapon/plasma_cannon.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:plasma_cannon" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "modularpowerarmor:flag", 8 | "flag": "vanilla_recipes_enabled" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | "FOC", 15 | "FMC", 16 | "FOC" 17 | ], 18 | "key": { 19 | "C": { 20 | "item": "mpalib:component_computer_chip" 21 | }, 22 | "F": { 23 | "tag": "forge:solenoid" 24 | }, 25 | "M": { 26 | "item": "mpalib:component_control_circuit" 27 | }, 28 | "O": { 29 | "tag": "forge:ingots/gold" 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/modelspec/armor_skin2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/modules/weapon/plasma_cannon.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:plasma_cannon" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "forge:mod_loaded", 8 | "modid": "centralizedmaterials" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | "FCO", 15 | "FMO", 16 | "FCO" 17 | ], 18 | "key": { 19 | "C": { 20 | "tag": "forge:ingots/copper" 21 | }, 22 | "F": { 23 | "tag": "forge:solenoid" 24 | }, 25 | "M": { 26 | "item": "mpalib:component_control_circuit" 27 | }, 28 | "O": { 29 | "item": "mpalib:component_computer_chip" 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/tool/leaf_blower.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:leaf_blower" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "modularpowerarmor:flag", 8 | "flag": "vanilla_recipes_enabled" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | "I ", 15 | "COC", 16 | "IM " 17 | ], 18 | "key": { 19 | "C": { 20 | "item": "mpalib:component_wiring" 21 | }, 22 | "I": { 23 | "item": "minecraft:iron_ingot" 24 | }, 25 | "M": { 26 | "item": "mpalib:component_solenoid" 27 | }, 28 | "O": { 29 | "item": "mpalib:component_control_circuit" 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/energy/generation/advanced_solar_generator.json: -------------------------------------------------------------------------------- 1 | { 2 | "conditions": [ 3 | { 4 | "type": "modularpowerarmor:flag", 5 | "flag": "vanilla_recipes_enabled" 6 | } 7 | ], 8 | "type": "minecraft:crafting_shaped", 9 | "pattern": [ 10 | "SCS", 11 | "W#W", 12 | "SCS" 13 | ], 14 | "key": { 15 | "W": { 16 | "tag": "forge:wiring" 17 | }, 18 | "C": { 19 | "item":"mpalib:component_control_circuit" 20 | }, 21 | "S": { 22 | "item":"modularpowerarmor:generator_solar" 23 | }, 24 | "#": { 25 | "item": "mpalib:component_computer_chip" 26 | } 27 | }, 28 | "result": { 29 | "item": "modularpowerarmor:generator_solar_adv" 30 | } 31 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/modelspec/default_armorskin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /bu_1.16.3/com/github/lehjr/modularpowerarmor/jei/JEIPlugin.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.jei; 2 | 3 | import com.github.lehjr.modularpowerarmor.basemod.MPAConstants; 4 | import mezz.jei.api.IModPlugin; 5 | import mezz.jei.api.JeiPlugin; 6 | import mezz.jei.api.registration.IRecipeTransferRegistration; 7 | import net.minecraft.util.ResourceLocation; 8 | 9 | @JeiPlugin 10 | public class JEIPlugin implements IModPlugin { 11 | private static final ResourceLocation UID = new ResourceLocation(MPAConstants.MOD_ID, "main"); 12 | @Override 13 | public ResourceLocation getPluginUid() { 14 | return UID; 15 | } 16 | 17 | @Override 18 | public void registerRecipeTransferHandlers(IRecipeTransferRegistration registration) { 19 | registration.addRecipeTransferHandler(new TransferInfo()); 20 | } 21 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/modules/tool/lux_capacitor.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:luxcapacitor_module" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "forge:mod_loaded", 8 | "modid": "centralizedmaterials" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | "FOF", 15 | "RCR", 16 | "GFG" 17 | ], 18 | "key": { 19 | "R": { 20 | "tag": "forge:wiring" 21 | }, 22 | "C": { 23 | "item": "mpalib:component_control_circuit" 24 | }, 25 | "F": { 26 | "tag": "forge:ingots/steel" 27 | }, 28 | "G": { 29 | "tag": "forge:dusts/glowstone" 30 | }, 31 | "O": { 32 | "tag": "forge:dusts/redstone" 33 | } 34 | } 35 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/modules/weapon/railgun.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:railgun" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "forge:mod_loaded", 8 | "modid": "centralizedmaterials" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | "CFO", 15 | "OMR", 16 | "RFO" 17 | ], 18 | "key": { 19 | "R": { 20 | "tag": "forge:solenoid" 21 | }, 22 | "C": { 23 | "item": "mpalib:component_solenoid" 24 | }, 25 | "F": { 26 | "tag": "forge:ingots/copper" 27 | }, 28 | "M": { 29 | "item": "mpalib:component_control_circuit" 30 | }, 31 | "O": { 32 | "item": "mpalib:component_computer_chip" 33 | } 34 | } 35 | } -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/container/MPARecipeBookContainer.java: -------------------------------------------------------------------------------- 1 | //package com.github.lehjr.modularpowerarmor.container; 2 | // 3 | //import net.minecraft.entity.player.ServerPlayerEntity; 4 | //import net.minecraft.inventory.container.ContainerType; 5 | //import net.minecraft.inventory.container.RecipeBookContainer; 6 | //import net.minecraft.item.crafting.IRecipe; 7 | // 8 | //public abstract class MPARecipeBookContainer extends RecipeBookContainer { 9 | // public MPARecipeBookContainer(ContainerType containerType, int windowId) { 10 | // super(containerType, windowId); 11 | // } 12 | // 13 | // @Override 14 | // public void func_217056_a(boolean placeAll, IRecipe recipe, ServerPlayerEntity player) { 15 | // (new MPAServerRecipePlacer(this)).place(player, recipe, placeAll); 16 | // } 17 | //} -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/modules/tool/diamond_drill_upgrade.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:diamond_pick_upgrade" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "forge:mod_loaded", 8 | "modid": "centralizedmaterials" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | "FOF", 15 | "CMC", 16 | "ORO" 17 | ], 18 | "key": { 19 | "R": { 20 | "tag": "forge:solenoid" 21 | }, 22 | "C": { 23 | "item": "mpalib:component_wiring" 24 | }, 25 | "F": { 26 | "tag": "forge:ingots/steel" 27 | }, 28 | "M": { 29 | "item": "mpalib:component_control_circuit" 30 | }, 31 | "O": { 32 | "tag": "forge:gems/diamond" 33 | } 34 | } 35 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/tool/lux_capacitor.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:luxcapacitor_module" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "modularpowerarmor:flag", 8 | "flag": "vanilla_recipes_enabled" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | "IRI", 15 | "COC", 16 | "GIG" 17 | ], 18 | "key": { 19 | "R": { 20 | "item": "minecraft:redstone" 21 | }, 22 | "C": { 23 | "item": "mpalib:component_wiring" 24 | }, 25 | "G": { 26 | "item": "minecraft:glowstone_dust" 27 | }, 28 | "I": { 29 | "item": "minecraft:iron_ingot" 30 | }, 31 | "O": { 32 | "item": "mpalib:component_control_circuit" 33 | } 34 | } 35 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/tool/flint_and_steel.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:flint_and_steel" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "modularpowerarmor:flag", 8 | "flag": "vanilla_recipes_enabled" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | " F ", 15 | "COC", 16 | "IMI" 17 | ], 18 | "key": { 19 | "C": { 20 | "item": "mpalib:component_wiring" 21 | }, 22 | "F": { 23 | "item": "minecraft:flint_and_steel" 24 | }, 25 | "I": { 26 | "item": "minecraft:iron_ingot" 27 | }, 28 | "M": { 29 | "item": "mpalib:component_solenoid" 30 | }, 31 | "O": { 32 | "item": "mpalib:component_control_circuit" 33 | } 34 | } 35 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/modules/energy/storage/basic_battery.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:battery_basic", 4 | "nbt": { 5 | "MMModModule": { 6 | "energy": 800000 7 | } 8 | } 9 | }, 10 | "conditions": [ 11 | { 12 | "type": "forge:mod_loaded", 13 | "modid": "centralizedmaterials" 14 | } 15 | ], 16 | "type": "minecraft:crafting_shaped", 17 | "mirrored": true, 18 | "pattern": [ 19 | "FOF", 20 | "RCR", 21 | "FOF" 22 | ], 23 | "key": { 24 | "R": { 25 | "tag": "forge:dusts/redstone" 26 | }, 27 | "C": { 28 | "item": "mpalib:component_control_circuit" 29 | }, 30 | "F": { 31 | "tag": "forge:ingots/steel" 32 | }, 33 | "O": { 34 | "tag": "forge:wiring" 35 | } 36 | } 37 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/tool/portable_mpa_workbench.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:portable_mpa_workbench" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "modularpowerarmor:flag", 8 | "flag": "vanilla_recipes_enabled" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | " T ", 15 | "COC", 16 | "IMI" 17 | ], 18 | "key": { 19 | "C": { 20 | "item": "mpalib:component_wiring" 21 | }, 22 | "T": { 23 | "item": "modularpowerarmor:mpa_workbench" 24 | }, 25 | "I": { 26 | "item": "minecraft:iron_ingot" 27 | }, 28 | "M": { 29 | "item": "mpalib:component_solenoid" 30 | }, 31 | "O": { 32 | "item": "mpalib:component_control_circuit" 33 | } 34 | } 35 | } -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/item/module/movement/UUID.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.item.module.movement; 2 | 3 | import net.minecraft.nbt.CompoundNBT; 4 | 5 | /** 6 | * Author: MachineMuse (Claire Semple) 7 | * Created: 10:10 AM, 8/7/13 8 | *

9 | * Ported to Java by lehjr on 10/13/16. 10 | */ 11 | public class UUID { 12 | final long least; 13 | final long most; 14 | 15 | public UUID(long least, long most) { 16 | this.least = least; 17 | this.most = most; 18 | } 19 | 20 | public UUID(CompoundNBT nbt) { 21 | this.least = nbt.getLong("UUIDLeast"); 22 | this.most = nbt.getLong("UUIDMost"); 23 | } 24 | 25 | public CompoundNBT toNBT(CompoundNBT nbt) { 26 | nbt.putLong("UUIDLeast", least); 27 | nbt.putLong("UUIDMost", most); 28 | return nbt; 29 | } 30 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/vanilla/modules/tool/diamond_drill_upgrade.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:diamond_pick_upgrade" 4 | }, 5 | "conditions": [ 6 | { 7 | "type": "modularpowerarmor:flag", 8 | "flag": "vanilla_recipes_enabled" 9 | } 10 | ], 11 | "type": "minecraft:crafting_shaped", 12 | "mirrored": true, 13 | "pattern": [ 14 | "IDI", 15 | "COC", 16 | "#M#" 17 | ], 18 | "key": { 19 | "C": { 20 | "item": "mpalib:component_wiring" 21 | }, 22 | "#": { 23 | "item": "minecraft:diamond" 24 | }, 25 | "D": { 26 | "item": "minecraft:diamond" 27 | }, 28 | "I": { 29 | "item": "minecraft:iron_ingot" 30 | }, 31 | "M": { 32 | "item": "mpalib:component_solenoid" 33 | }, 34 | "O": { 35 | "item": "mpalib:component_control_circuit" 36 | } 37 | } 38 | } -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/client/model/helper/LuxCapHelper.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.client.model.helper; 2 | 3 | import com.github.lehjr.mpalib.util.math.Colour; 4 | import com.google.common.collect.ImmutableMap; 5 | import forge.OBJPartData; 6 | import net.minecraftforge.client.model.data.IModelData; 7 | import net.minecraftforge.client.model.data.ModelDataMap; 8 | 9 | public class LuxCapHelper { 10 | public static IModelData getModelData(int colour) { 11 | ImmutableMap.Builder builder = ImmutableMap.builder(); 12 | builder.put("lightlens", OBJPartData.makeOBJPartData(true, true, colour)); 13 | builder.put("lightBase", OBJPartData.makeOBJPartData(false, true, Colour.WHITE.getInt())); 14 | return new ModelDataMap.Builder().withInitial(OBJPartData.SUBMODEL_DATA, new OBJPartData(builder.build())).build(); 15 | } 16 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/blockstates/mpa_workbench.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "facing=west,waterlogged=false": { "model": "modularpowerarmor:block/mpa_workbench", "y": 90 }, 4 | "facing=east,waterlogged=false": { "model": "modularpowerarmor:block/mpa_workbench", "y": 270 }, 5 | "facing=north,waterlogged=false": { "model": "modularpowerarmor:block/mpa_workbench", "y": 0 }, 6 | "facing=south,waterlogged=false": { "model": "modularpowerarmor:block/mpa_workbench", "y": 180 }, 7 | 8 | "facing=west,waterlogged=true": { "model": "modularpowerarmor:block/mpa_workbench", "y": 90 }, 9 | "facing=east,waterlogged=true": { "model": "modularpowerarmor:block/mpa_workbench", "y": 270 }, 10 | "facing=north,waterlogged=true": { "model": "modularpowerarmor:block/mpa_workbench", "y": 0 }, 11 | "facing=south,waterlogged=true": { "model": "modularpowerarmor:block/mpa_workbench", "y": 180 } 12 | } 13 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/modules/energy/storage/elite_battery.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:battery_elite", 4 | "nbt": { 5 | "MMModModule": { 6 | "energy": 25000000 7 | } 8 | } 9 | }, 10 | "conditions": [ 11 | { 12 | "type": "forge:mod_loaded", 13 | "modid": "centralizedmaterials" 14 | } 15 | ], 16 | "type": "minecraft:crafting_shaped", 17 | "mirrored": true, 18 | "pattern": [ 19 | "FBF", 20 | "BCB", 21 | "BOB" 22 | ], 23 | "key": { 24 | "B": { 25 | "item": "modularpowerarmor:battery_advanced", 26 | "nbt": { 27 | "MMModModule": { 28 | "energy": 5000000 29 | } 30 | } 31 | }, 32 | "C": { 33 | "item": "mpalib:component_control_circuit" 34 | }, 35 | "F": { 36 | "tag": "forge:ingots/steel" 37 | }, 38 | "O": { 39 | "tag": "forge:wiring" 40 | } 41 | } 42 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/modules/energy/storage/advanced_battery.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:battery_advanced", 4 | "nbt": { 5 | "MMModModule": { 6 | "energy": 5000000 7 | } 8 | } 9 | }, 10 | "conditions": [ 11 | { 12 | "type": "forge:mod_loaded", 13 | "modid": "centralizedmaterials" 14 | } 15 | ], 16 | "type": "minecraft:crafting_shaped", 17 | "mirrored": true, 18 | "pattern": [ 19 | "FBF", 20 | "BCB", 21 | "BOB" 22 | ], 23 | "key": { 24 | "B": { 25 | "item": "modularpowerarmor:battery_basic", 26 | "nbt": { 27 | "MMModModule": { 28 | "energy": 1000000 29 | } 30 | } 31 | }, 32 | "C": { 33 | "item": "mpalib:component_control_circuit" 34 | }, 35 | "F": { 36 | "tag": "forge:ingots/steel" 37 | }, 38 | "O": { 39 | "tag": "forge:wiring" 40 | } 41 | } 42 | } -------------------------------------------------------------------------------- /src/main/resources/data/modularpowerarmor/recipes/centralizedmaterials/modules/energy/storage/ultimate_battery.json: -------------------------------------------------------------------------------- 1 | { 2 | "result": { 3 | "item": "modularpowerarmor:battery_ultimate", 4 | "nbt": { 5 | "MMModModule": { 6 | "energy": 125000000 7 | } 8 | } 9 | }, 10 | "conditions": [ 11 | { 12 | "type": "forge:mod_loaded", 13 | "modid": "centralizedmaterials" 14 | } 15 | ], 16 | "type": "minecraft:crafting_shaped", 17 | "mirrored": true, 18 | "pattern": [ 19 | "FBF", 20 | "BCB", 21 | "BOB" 22 | ], 23 | "key": { 24 | "B": { 25 | "item": "modularpowerarmor:battery_elite", 26 | "nbt": { 27 | "MMModModule": { 28 | "energy": 25000000 29 | } 30 | } 31 | }, 32 | "C": { 33 | "item": "mpalib:component_control_circuit" 34 | }, 35 | "F": { 36 | "tag": "forge:ingots/electrum" 37 | }, 38 | "O": { 39 | "tag": "forge:wiring" 40 | } 41 | } 42 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/entity/bolt.obj: -------------------------------------------------------------------------------- 1 | # Blender v2.90.1 OBJ File: '' 2 | # www.blender.org 3 | mtllib bolt.mtl 4 | o Cube 5 | v 0.250000 0.062500 -0.062500 6 | v 0.250000 -0.062500 -0.062500 7 | v 0.250000 0.062500 0.062500 8 | v 0.250000 -0.062500 0.062500 9 | v -0.250000 0.062500 -0.062500 10 | v -0.250000 -0.062500 -0.062500 11 | v -0.250000 0.062500 0.062500 12 | v -0.250000 -0.062500 0.062500 13 | vt 0.625000 0.500000 14 | vt 0.875000 0.500000 15 | vt 0.875000 0.750000 16 | vt 0.625000 0.750000 17 | vt 0.375000 0.750000 18 | vt 0.625000 1.000000 19 | vt 0.375000 1.000000 20 | vt 0.375000 0.000000 21 | vt 0.625000 0.000000 22 | vt 0.625000 0.250000 23 | vt 0.375000 0.250000 24 | vt 0.125000 0.500000 25 | vt 0.375000 0.500000 26 | vt 0.125000 0.750000 27 | vn 0.0000 1.0000 0.0000 28 | vn 0.0000 0.0000 1.0000 29 | vn -1.0000 0.0000 0.0000 30 | vn 0.0000 -1.0000 0.0000 31 | vn 1.0000 0.0000 0.0000 32 | vn 0.0000 0.0000 -1.0000 33 | usemtl Material 34 | s off 35 | f 1/1/1 5/2/1 7/3/1 3/4/1 36 | f 4/5/2 3/4/2 7/6/2 8/7/2 37 | f 8/8/3 7/9/3 5/10/3 6/11/3 38 | f 6/12/4 2/13/4 4/5/4 8/14/4 39 | f 2/13/5 1/1/5 3/4/5 4/5/5 40 | f 6/11/6 5/10/6 1/1/6 2/13/6 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/network/packets/OnClientLoginPacket.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.network.packets; 2 | 3 | import com.github.lehjr.modularpowerarmor.event.PlayerLoginHandler; 4 | import net.minecraft.entity.player.ServerPlayerEntity; 5 | import net.minecraft.network.PacketBuffer; 6 | import net.minecraftforge.fml.network.NetworkEvent; 7 | 8 | import java.util.function.Supplier; 9 | 10 | /** 11 | * Workaround for login event being fired server side only now 12 | */ 13 | public class OnClientLoginPacket { 14 | public OnClientLoginPacket() { 15 | } 16 | 17 | public static void encode(OnClientLoginPacket msg, PacketBuffer packetBuffer) { 18 | } 19 | 20 | public static OnClientLoginPacket decode(PacketBuffer packetBuffer) { 21 | return new OnClientLoginPacket(); 22 | } 23 | 24 | public static void handle(OnClientLoginPacket message, Supplier ctx) { 25 | ctx.get().enqueueWork(() -> { 26 | final ServerPlayerEntity player = ctx.get().getSender(); 27 | PlayerLoginHandler.clientPlayerLogin(player); 28 | }); 29 | ctx.get().setPacketHandled(true); 30 | } 31 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/sounds.json: -------------------------------------------------------------------------------- 1 | { 2 | "glider":{ 3 | "category":"master", 4 | "sounds":[ 5 | { 6 | "name":"modularpowerarmor:glider", 7 | "stream":false 8 | } 9 | ] 10 | }, 11 | "jet_boots":{ 12 | "category":"master", 13 | "sounds":[ 14 | { 15 | "name":"modularpowerarmor:jet_boots", 16 | "stream":false 17 | } 18 | ] 19 | }, 20 | "jetpack":{ 21 | "category":"master", 22 | "sounds":[ 23 | { 24 | "name":"modularpowerarmor:jetpack", 25 | "stream":false 26 | } 27 | ] 28 | }, 29 | "jump_assist":{ 30 | "category":"master", 31 | "sounds":[ 32 | { 33 | "name":"modularpowerarmor:jump_assist", 34 | "stream":false 35 | } 36 | ] 37 | }, 38 | "swim_assist":{ 39 | "category":"master", 40 | "sounds":[ 41 | { 42 | "name":"modularpowerarmor:swim_assist", 43 | "stream":false 44 | } 45 | ] 46 | }, 47 | "water_electrolyzer":{ 48 | "category":"master", 49 | "sounds":[ 50 | { 51 | "name":"modularpowerarmor:water_electrolyzer", 52 | "stream":false 53 | } 54 | ] 55 | } 56 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/models/item/luxcapacitor.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent" : "modularpowerarmor:block/luxcapacitor", 3 | "gui_light": "front", 4 | "display": { 5 | "gui": { 6 | "rotation": [ -45, 0, 45 ], 7 | "translation": [ 0, 2.75, 0], 8 | "scale":[ 0.625, 0.625, 0.625 ] 9 | }, 10 | "ground": { 11 | "rotation": [ -90, 0, 0 ], 12 | "translation": [ 0, 2, 0], 13 | "scale":[ 0.5, 0.5, 0.5 ] 14 | }, 15 | "thirdperson_righthand": { 16 | "rotation": [ 0, 0, 45 ], 17 | "translation": [ 0, 2, 3 ], 18 | "scale": [ 0.55, 0.55, 0.55 ] 19 | }, 20 | "firstperson_righthand": { 21 | "rotation": [ 0, -90, 25 ], 22 | "translation": [ 1.13, 3.2, 1.13], 23 | "scale": [ 0.68, 0.68, 0.68 ] 24 | }, 25 | "thirdperson_lefthand": { 26 | "rotation": [ 0, 0, 45 ], 27 | "translation": [ 0, 2, 3 ], 28 | "scale": [ 0.55, 0.55, 0.55 ] 29 | }, 30 | "firstperson_lefthand": { 31 | "rotation": [ -25, -90, 0 ], 32 | "translation": [ 1.13, 3.2, 1.13], 33 | "scale": [ 0.68, 0.68, 0.68 ] 34 | }, 35 | "fixed": { 36 | "rotation": [ 0, 180, 0 ], 37 | "scale": [ 1, 1, 1 ] 38 | } 39 | } 40 | } -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/client/gui/obsolete/ScrollableSlider.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.client.gui.obsolete; 2 | 3 | import com.github.lehjr.mpalib.util.client.gui.clickable.ClickableSlider; 4 | import com.github.lehjr.mpalib.util.client.gui.geometry.RelativeRect; 5 | import com.mojang.blaze3d.matrix.MatrixStack; 6 | 7 | @Deprecated 8 | public class ScrollableSlider extends ScrollableRectangle { 9 | ClickableSlider slider; 10 | 11 | public ScrollableSlider(ClickableSlider slider, RelativeRect relativeRect) { 12 | super(relativeRect); 13 | this.slider = slider; 14 | } 15 | 16 | public double getValue() { 17 | return slider.getValue(); 18 | } 19 | 20 | public void setValue(double value) { 21 | slider.setValue(value); 22 | } 23 | 24 | public ClickableSlider getSlider() { 25 | return slider; 26 | } 27 | 28 | public boolean hitBox(float x, float y) { 29 | return slider.hitBox(x, y); 30 | } 31 | 32 | @Override 33 | public void render(MatrixStack matrixStack, int mouseX, int mouseY, float partialTicks, float zLevel) { 34 | slider.render(matrixStack, mouseX, mouseY, partialTicks, zLevel); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/client/gui/obsolete/ScrollableLabel.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.client.gui.obsolete; 2 | 3 | import com.github.lehjr.mpalib.util.client.gui.clickable.ClickableLabel; 4 | import com.github.lehjr.mpalib.util.client.gui.geometry.RelativeRect; 5 | import com.mojang.blaze3d.matrix.MatrixStack; 6 | 7 | @Deprecated 8 | public class ScrollableLabel extends ScrollableRectangle { 9 | ClickableLabel label; 10 | boolean enabled = true; 11 | 12 | public ScrollableLabel(ClickableLabel label, RelativeRect relativeRect) { 13 | super(relativeRect); 14 | this.label = label; 15 | } 16 | 17 | public ScrollableLabel setMode(ClickableLabel.JustifyMode mode) { 18 | this.label = this.label.setMode(mode); 19 | return this; 20 | } 21 | 22 | public void setText(String text) { 23 | label.setLabel(text); 24 | } 25 | 26 | public boolean hitbox(double x, double y) { 27 | return enabled && label.hitBox(x, y); 28 | } 29 | 30 | @Override 31 | public void render(MatrixStack matrixStack, int mouseX, int mouseY, float partialTicks, float zLevel) { 32 | if (enabled) { 33 | label.render(matrixStack, mouseX, mouseY, partialTicks, zLevel); 34 | } 35 | } 36 | } -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/client/gui/obsolete/ScrollableRectangle.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.client.gui.obsolete; 2 | 3 | import com.github.lehjr.mpalib.util.client.gui.geometry.Point2D; 4 | import com.github.lehjr.mpalib.util.client.gui.geometry.Rect; 5 | import com.github.lehjr.mpalib.util.client.gui.geometry.RelativeRect; 6 | import com.mojang.blaze3d.matrix.MatrixStack; 7 | 8 | @Deprecated 9 | public class ScrollableRectangle extends RelativeRect { 10 | public ScrollableRectangle(RelativeRect relativeRect) { 11 | super(relativeRect.left(), relativeRect.top(), relativeRect.right(), relativeRect.bottom()); 12 | } 13 | 14 | public ScrollableRectangle(double left, double top, double right, double bottom) { 15 | super(left, top, right, bottom); 16 | } 17 | 18 | public ScrollableRectangle(double left, double top, double right, float bottom, boolean growFromMiddle) { 19 | super(left, top, right, bottom, growFromMiddle); 20 | } 21 | 22 | public ScrollableRectangle(Point2D ul, Point2D br) { 23 | super(ul, br); 24 | } 25 | 26 | public void render(MatrixStack matrixStack, int mouseX, int mouseY, float partialTicks, float zLevel) { 27 | } 28 | 29 | public Rect getBorder() { 30 | return this; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/blockstates/luxcapacitor.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "facing=west,waterlogged=false": { "model": "modularpowerarmor:block/luxcapacitor", "y": 90 }, 4 | "facing=east,waterlogged=false": { "model": "modularpowerarmor:block/luxcapacitor", "y": 270 }, 5 | "facing=north,waterlogged=false": { "model": "modularpowerarmor:block/luxcapacitor", "y": 180 }, 6 | "facing=south,waterlogged=false": { "model": "modularpowerarmor:block/luxcapacitor", "y": 0 }, 7 | "facing=up,waterlogged=false" : { "model": "modularpowerarmor:block/luxcapacitor", "x": 90 }, 8 | "facing=down,waterlogged=false" : { "model": "modularpowerarmor:block/luxcapacitor", "x": 270}, 9 | 10 | 11 | "facing=west,waterlogged=true": { "model": "modularpowerarmor:block/luxcapacitor", "y": 90 }, 12 | "facing=east,waterlogged=true": { "model": "modularpowerarmor:block/luxcapacitor", "y": 270 }, 13 | "facing=north,waterlogged=true": { "model": "modularpowerarmor:block/luxcapacitor", "y": 180 }, 14 | "facing=south,waterlogged=true": { "model": "modularpowerarmor:block/luxcapacitor", "y": 0 }, 15 | "facing=up,waterlogged=true" : { "model": "modularpowerarmor:block/luxcapacitor", "x": 90 }, 16 | "facing=down,waterlogged=true" : { "model": "modularpowerarmor:block/luxcapacitor", "x": 270} 17 | } 18 | } -------------------------------------------------------------------------------- /bu_1.16.3/com/github/lehjr/modularpowerarmor/jei/TransferInfo.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.jei; 2 | 3 | import com.github.lehjr.modularpowerarmor.container.MPACraftingContainer; 4 | import mezz.jei.api.recipe.transfer.IRecipeTransferInfo; 5 | import net.minecraft.inventory.container.Slot; 6 | import net.minecraft.util.ResourceLocation; 7 | 8 | import java.util.List; 9 | 10 | import static mezz.jei.api.constants.VanillaRecipeCategoryUid.CRAFTING; 11 | 12 | public class TransferInfo implements IRecipeTransferInfo { 13 | @Override 14 | public Class getContainerClass() { 15 | return MPACraftingContainer.class; 16 | } 17 | 18 | @Override 19 | public ResourceLocation getRecipeCategoryUid() { 20 | return CRAFTING; 21 | } 22 | 23 | @Override 24 | public boolean canHandle(MPACraftingContainer mtrmContainer) { 25 | return true; 26 | } 27 | 28 | @Override 29 | public List getRecipeSlots(MPACraftingContainer mtrmContainer) { 30 | return mtrmContainer.inventorySlots.subList(1, 10); 31 | } 32 | 33 | @Override 34 | public List getInventorySlots(MPACraftingContainer mtrmContainer) { 35 | return mtrmContainer.inventorySlots.subList(10, mtrmContainer.inventorySlots.size() -1); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /bu_1.16.3/com/github/lehjr/modularpowerarmor/entity/TestBolt.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.entity; 2 | 3 | import net.minecraft.entity.Entity; 4 | import net.minecraft.entity.EntityType; 5 | import net.minecraft.entity.IProjectile; 6 | import net.minecraft.nbt.CompoundNBT; 7 | import net.minecraft.network.IPacket; 8 | import net.minecraft.world.World; 9 | import net.minecraftforge.fml.network.NetworkHooks; 10 | 11 | 12 | /** 13 | * Railgun projectile 14 | * 15 | * Based on AbstractArrowEntity with some other code thrown in 16 | */ 17 | public class TestBolt extends Entity implements IProjectile { 18 | 19 | 20 | public TestBolt(EntityType entityTypeIn, World worldIn) { 21 | super(entityTypeIn, worldIn); 22 | } 23 | 24 | @Override 25 | protected void registerData() { 26 | 27 | } 28 | 29 | @Override 30 | protected void readAdditional(CompoundNBT compound) { 31 | 32 | } 33 | 34 | @Override 35 | protected void writeAdditional(CompoundNBT compound) { 36 | 37 | } 38 | 39 | 40 | 41 | @Override 42 | public void shoot(double x, double y, double z, float velocity, float inaccuracy) { 43 | 44 | } 45 | 46 | 47 | 48 | 49 | @Override 50 | public IPacket createSpawnPacket() { 51 | return NetworkHooks.getEntitySpawningPacket(this); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/main/resources/META-INF/mods.toml: -------------------------------------------------------------------------------- 1 | modLoader="javafml" 2 | loaderVersion="[35,)" 3 | issueTrackerURL="https://github.com/lehjr/ModularPowerArmor/issues" 4 | logoFile="assets/modularpowerarmor/textures/logo.png" 5 | license="All rights reserved" 6 | [[mods]] 7 | modId="modularpowerarmor" 8 | version="${version}" 9 | displayName="Modular Power Armor" 10 | description=''' 11 | A mod which adds modular power armor, power tool, and a tinker table to configure them. Uses FE (Foreg Energy), EU (IndustrialCraft 2) or RF (Thermal Expansion 4). 12 | ''' 13 | authors="Code by MachineMuse, Lehjr and others" 14 | credits="Icons by WaterCandle, Modeling by SebK" 15 | 16 | [[dependencies.modularpowerarmor]] 17 | modId="forge" 18 | mandatory=true 19 | versionRange="[35,)" 20 | ordering="NONE" 21 | side="BOTH" 22 | 23 | [[dependencies.modularpowerarmor]] 24 | modId="minecraft" 25 | mandatory=true 26 | versionRange="[1.16.4,1.17)" 27 | ordering="NONE" 28 | side="BOTH" 29 | 30 | [[dependencies.modularpowerarmor]] 31 | modId="mpalib" 32 | mandatory=true 33 | versionRange="[2.0.2,)" 34 | ordering="AFTER" 35 | side="BOTH" 36 | 37 | [[dependencies.modularpowerarmor]] 38 | modId="centralizedmaterials" 39 | mandatory=false 40 | versionRange="[1.0.0,)" 41 | ordering="AFTER" 42 | side="BOTH" 43 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Version info** 11 | Java version: 12 | Minecraft Forge version: 13 | 14 | **Describe the bug** 15 | A clear and concise description of what the bug is. 16 | 17 | **To Reproduce** 18 | Steps to reproduce the behavior: 19 | 1. Go to '...' 20 | 2. Click on '....' 21 | 3. Scroll down to '....' 22 | 4. See error 23 | 24 | **Expected behavior** 25 | A clear and concise description of what you expected to happen. 26 | 27 | **Mod list** 28 | Including versions, provided by crash report if game crashed: 29 | 30 | Smallest sub-list that still produces issue, if any exclusion testing was done: 31 | 32 | **Log files** 33 | (Link to pastebin, gist, or other hosting site preferred, file attachment okay.) 34 | Game log (make sure it's the log that was generated during the gameplay the issue occurred in): 35 | Crash report (if issue caused game to crash): 36 | Server log (if issue occurred on a server, make sure it's the log generated during the gameplay the issue occurred in): 37 | Server crash report (if issue caused server to crash): 38 | 39 | **Screenshots** 40 | If applicable, add screenshots to help explain your problem. 41 | 42 | **Additional context** 43 | Add any other context about the problem here. 44 | -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/network/packets/ContainerGuiOpenPacket.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.network.packets; 2 | 3 | import com.github.lehjr.modularpowerarmor.container.MPAWorkbenchContainerProvider; 4 | import net.minecraft.network.PacketBuffer; 5 | import net.minecraftforge.fml.network.NetworkEvent; 6 | import net.minecraftforge.fml.network.NetworkHooks; 7 | 8 | import java.util.function.Supplier; 9 | 10 | /** 11 | * A packet for sending a containerGui open request from the client side. 12 | */ 13 | public class ContainerGuiOpenPacket { 14 | int guiID; 15 | public ContainerGuiOpenPacket(int guiIDIn) { 16 | this.guiID = guiIDIn; 17 | } 18 | 19 | public static void encode(ContainerGuiOpenPacket msg, PacketBuffer packetBuffer) { 20 | packetBuffer.writeInt(msg.guiID); 21 | } 22 | 23 | public static ContainerGuiOpenPacket decode(PacketBuffer packetBuffer) { 24 | return new ContainerGuiOpenPacket(packetBuffer.readInt()); 25 | } 26 | 27 | public static void handle(ContainerGuiOpenPacket msg, Supplier ctx) { 28 | ctx.get().enqueueWork(() -> { 29 | NetworkHooks.openGui(ctx.get().getSender(), new MPAWorkbenchContainerProvider(msg.guiID), (buffer) -> buffer.writeInt(msg.guiID)); 30 | }); 31 | ctx.get().setPacketHandled(true); 32 | } 33 | } -------------------------------------------------------------------------------- /src/main/resources/assets/modularpowerarmor/blockstates/luxcapacitor_bu.json: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | { 9 | "forge_marker": 1, 10 | "defaults": { 11 | "custom": { "flip-v": true }, 12 | "model": "modularpowerarmor:block/luxcapacitor.obj", 13 | "textures": { 14 | "all" : "modularpowerarmor:models/luxcapacitor" 15 | } 16 | }, 17 | "variants": { 18 | "facing": { 19 | 20 | "down": {"x": 90}, 21 | "up": {"x": 270}, 22 | "north": {}, 23 | "south": {"y": 180}, 24 | "west": {"y": 90}, 25 | "east": {"y": 270}, 26 | 27 | "north": { 28 | "transform": { 29 | "scale": 1 30 | } 31 | }, 32 | "south": { 33 | "transform": { 34 | "rotation": {"y": 180}, 35 | "scale": 1 36 | } 37 | }, 38 | "west": { 39 | "transform": { 40 | "rotation": {"y": 90}, 41 | "scale" : 1 42 | } 43 | }, 44 | "east": { 45 | "transform": { 46 | "rotation": {"y": 270}, 47 | "scale" : 1 48 | } 49 | }, 50 | "up": { 51 | "transform": { 52 | "rotation": {"y": 270}, 53 | "scale" : 1 54 | } 55 | }, 56 | "down": { 57 | "transform": { 58 | "rotation": {"y": 270}, 59 | "scale" : 1 60 | } 61 | } 62 | } 63 | } 64 | } -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | Modular Power Armor (Formerly known as Modular Powersuits) 2 | Copyright (c) 2019, MachineMuse, Lehjr 3 | All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without modification, 6 | are permitted provided that the following conditions are met: 7 | 8 | Redistributions of source code must retain the above copyright notice, this 9 | list of conditions and the following disclaimer. 10 | 11 | Redistributions in binary form must reproduce the above copyright notice, this 12 | list of conditions and the following disclaimer in the documentation and/or 13 | other materials provided with the distribution. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 16 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 17 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 18 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR 19 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 20 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 21 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 22 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 24 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 | -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/basemod/MPAModules.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.basemod; 2 | 3 | import com.github.lehjr.mpalib.basemod.MPALibConstants; 4 | import net.minecraft.util.ResourceLocation; 5 | 6 | import java.util.ArrayList; 7 | import java.util.List; 8 | 9 | /** 10 | * Holds a list of module registry names of modules that can be installed in the armor and power fist. 11 | * Used in the installation/removal Gui. 12 | */ 13 | public enum MPAModules { 14 | INSTANCE; 15 | 16 | protected List moduleRegNames = new ArrayList() {{ 17 | add(new ResourceLocation(MPALibConstants.MOD_ID, MPALibConstants.MODULE_BATTERY_BASIC__REGNAME)); 18 | add(new ResourceLocation(MPALibConstants.MOD_ID, MPALibConstants.MODULE_BATTERY_ADVANCED__REGNAME)); 19 | add(new ResourceLocation(MPALibConstants.MOD_ID, MPALibConstants.MODULE_BATTERY_ELITE__REGNAME)); 20 | add(new ResourceLocation(MPALibConstants.MOD_ID, MPALibConstants.MODULE_BATTERY_ULTIMATE__REGNAME)); 21 | add(new ResourceLocation(MPAConstants.MOD_ID, MPARegistryNames.WORKBENCH)); 22 | 23 | add(new ResourceLocation("clock")); 24 | add(new ResourceLocation("compass")); 25 | add(new ResourceLocation("crafting_table")); 26 | }}; 27 | 28 | public void addModule(ResourceLocation regName) { 29 | moduleRegNames.add(regName); 30 | } 31 | 32 | public List getModuleRegNames () { 33 | return moduleRegNames; 34 | } 35 | } -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/event/EntityDamageEvent.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.event; 2 | 3 | import com.google.common.eventbus.Subscribe; 4 | import net.minecraftforge.event.entity.living.LivingAttackEvent; 5 | import net.minecraftforge.event.entity.living.LivingDamageEvent; 6 | import net.minecraftforge.eventbus.api.SubscribeEvent; 7 | 8 | public class EntityDamageEvent { 9 | // LivingAttackEvent 10 | 11 | 12 | @Subscribe 13 | public static void handleEntityDamageEvent(LivingDamageEvent event) { 14 | System.out.println("entity type: " + event.getEntity().getClass()); 15 | 16 | // todo: control damage based on heat/max heat && whether or not player has full armor and is in lava 17 | // Note: can cancel here but damage animation/sound still happens. Only way to not have it is potion effects. 18 | 19 | 20 | // LivingEntity livingEntityy = event.getEntityLiving(); 21 | // if (livingEntityy instanceof PlayerEntity) { 22 | // System.out.println("source: " + event.getSource().getDamageType()); 23 | // if (event.getSource().isFireDamage()) { 24 | // event.setCanceled(true); 25 | // } 26 | // } 27 | } 28 | 29 | /** 30 | * Use this instead of the above method. 31 | * * @param event 32 | */ 33 | @SubscribeEvent 34 | public static void entityAttackEventHandler(LivingAttackEvent event) { 35 | System.out.println("entity type: " + event.getEntity().getClass()); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/container/MPAWorkbenchContainerProvider.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.container; 2 | 3 | import net.minecraft.entity.player.PlayerEntity; 4 | import net.minecraft.entity.player.PlayerInventory; 5 | import net.minecraft.inventory.container.Container; 6 | import net.minecraft.inventory.container.INamedContainerProvider; 7 | import net.minecraft.util.text.ITextComponent; 8 | import net.minecraft.util.text.TranslationTextComponent; 9 | 10 | import javax.annotation.Nullable; 11 | 12 | public class MPAWorkbenchContainerProvider implements INamedContainerProvider { 13 | int typeIndex; 14 | public MPAWorkbenchContainerProvider(int typeIndex) { 15 | this.typeIndex = typeIndex; 16 | } 17 | 18 | @Override 19 | public ITextComponent getDisplayName() { 20 | switch(typeIndex) { 21 | case 0: 22 | return new TranslationTextComponent("gui.modularpowerarmor.tab.workbench"); 23 | default: 24 | return new TranslationTextComponent("container.crafting"); 25 | } 26 | } 27 | 28 | @Nullable 29 | @Override 30 | public Container createMenu(int windowId, PlayerInventory playerInventory, PlayerEntity player) { 31 | switch(typeIndex) { 32 | case 0: 33 | return new MPAWorkbenchContainer(windowId, playerInventory); 34 | default: 35 | return null; 36 | // return new MPACraftingContainer(windowId, playerInventory); 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/tile_entity/WorkBenchTileEntity.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.tile_entity; 2 | 3 | import com.github.lehjr.modularpowerarmor.basemod.MPAObjects; 4 | import com.github.lehjr.mpalib.util.tileentity.MPALibTileEntity; 5 | import net.minecraft.util.Direction; 6 | 7 | /** 8 | * @author MachineMuse 9 | *

10 | * Ported to Java by lehjr on 10/21/16. 11 | */ 12 | public class WorkBenchTileEntity extends MPALibTileEntity { 13 | Direction facing; 14 | 15 | public WorkBenchTileEntity() { 16 | super(MPAObjects.WORKBENCH_TILE_TYPE.get()); 17 | this.facing = Direction.NORTH; 18 | } 19 | 20 | public WorkBenchTileEntity(Direction facing) { 21 | super(MPAObjects.WORKBENCH_TILE_TYPE.get()); 22 | this.facing = facing; 23 | } 24 | 25 | public Direction getFacing() { 26 | return (this.facing != null) ? this.facing : Direction.NORTH; 27 | } 28 | 29 | public void setFacing(Direction facing) { 30 | this.facing = facing; 31 | } 32 | 33 | 34 | 35 | 36 | 37 | // @Override 38 | // public CompoundNBT write(CompoundNBT nbt) { 39 | // super.write(nbt); 40 | // nbt.putInt("f", facing.ordinal()); 41 | // return nbt; 42 | // } 43 | // 44 | // @Override 45 | // public void read(CompoundNBT nbt) { 46 | // super.read(nbt); 47 | // if (nbt.contains("f")) { 48 | // facing = Direction.values()[nbt.getInt("f")]; 49 | // } else { 50 | // MPALibLogger.logger.debug("No NBT found! D:"); 51 | // } 52 | // } 53 | } -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/client/sound/MPASoundDictionary.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.client.sound; 2 | 3 | import com.github.lehjr.modularpowerarmor.basemod.MPAConstants; 4 | import net.minecraft.util.ResourceLocation; 5 | import net.minecraft.util.SoundEvent; 6 | import net.minecraftforge.api.distmarker.Dist; 7 | import net.minecraftforge.event.RegistryEvent; 8 | import net.minecraftforge.eventbus.api.SubscribeEvent; 9 | import net.minecraftforge.fml.common.Mod; 10 | 11 | @Mod.EventBusSubscriber(modid = MPAConstants.MOD_ID, value = Dist.CLIENT) 12 | public class MPASoundDictionary { 13 | public static SoundEvent GLIDER = initSound("glider"); 14 | public static SoundEvent JETBOOTS = initSound("jet_boots"); 15 | public static SoundEvent JETPACK = initSound("jetpack"); 16 | public static SoundEvent JUMP_ASSIST = initSound("jump_assist"); 17 | public static SoundEvent SWIM_ASSIST = initSound("swim_assist"); 18 | public static SoundEvent ELECTROLYZER = initSound("water_electrolyzer"); 19 | 20 | static { 21 | new MPASoundDictionary(); 22 | } 23 | 24 | @SubscribeEvent 25 | public static void registerSoundEvent(RegistryEvent.Register event) { 26 | event.getRegistry().registerAll( 27 | GLIDER, 28 | JETBOOTS, 29 | JETPACK, 30 | JUMP_ASSIST, 31 | SWIM_ASSIST, 32 | ELECTROLYZER); 33 | } 34 | 35 | private static SoundEvent initSound(String soundName) { 36 | ResourceLocation location = new ResourceLocation(MPAConstants.MOD_ID, soundName); 37 | SoundEvent event = new SoundEvent(location).setRegistryName(location); 38 | return event; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/tile_entity/LuxCapacitorTileEntity.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.tile_entity; 2 | 3 | import com.github.lehjr.modularpowerarmor.basemod.MPAObjects; 4 | import com.github.lehjr.mpalib.util.math.Colour; 5 | import com.github.lehjr.mpalib.util.tileentity.MPALibTileEntity; 6 | 7 | public class LuxCapacitorTileEntity extends MPALibTileEntity { 8 | private Colour color = Colour.CYAN; 9 | 10 | public LuxCapacitorTileEntity() { 11 | super(MPAObjects.LUX_CAP_TILE_TYPE.get()); 12 | this.color = /*LuxCapacitorBlock.defaultColor*/ Colour.CYAN; 13 | } 14 | 15 | public LuxCapacitorTileEntity(Colour colour) { 16 | super(MPAObjects.LUX_CAP_TILE_TYPE.get()); 17 | this.color = colour; 18 | } 19 | 20 | public void setColor(Colour colour) { 21 | this.color = colour; 22 | } 23 | 24 | // @Override 25 | // public CompoundNBT write(CompoundNBT nbt) { 26 | // super.write(nbt); 27 | // if (color == null) 28 | // color = LuxCapacitorBlock.defaultColor; 29 | // nbt.putInt("c", color.getInt()); 30 | // return nbt; 31 | // } 32 | // 33 | // @Nonnull 34 | // @Override 35 | // public IModelData getModelData() { 36 | // return LuxCapHelper.getModelData(getColor().getInt()); 37 | // } 38 | // 39 | // @Override 40 | // public void read(CompoundNBT nbt) { 41 | // super.read(nbt); 42 | // if (nbt.contains("c")) { 43 | // color = new Colour(nbt.getInt("c")); 44 | // } else { 45 | // MPALibLogger.logger.debug("No NBT found! D:"); 46 | // } 47 | // } 48 | // 49 | // public Colour getColor() { 50 | // return color != null ? color : LuxCapacitorBlock.defaultColor; 51 | // } 52 | } 53 | -------------------------------------------------------------------------------- /bu_1.16.3/com/github/lehjr/modularpowerarmor/block/BlockTinkerTable.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.block; 2 | 3 | import com.github.lehjr.modularpowerarmor.container.providers.TinkerContainerProvider; 4 | import com.github.lehjr.modularpowerarmor.tile_entity.TinkerTableTileEntity; 5 | import com.github.lehjr.mpalib.client.sound.SoundDictionary; 6 | import net.minecraft.block.*; 7 | import net.minecraft.block.material.Material; 8 | import net.minecraft.entity.player.PlayerEntity; 9 | import net.minecraft.fluid.Fluid; 10 | import net.minecraft.fluid.Fluids; 11 | import net.minecraft.fluid.IFluidState; 12 | import net.minecraft.inventory.container.INamedContainerProvider; 13 | import net.minecraft.item.BlockItemUseContext; 14 | import net.minecraft.state.BooleanProperty; 15 | import net.minecraft.state.StateContainer; 16 | import net.minecraft.state.properties.BlockStateProperties; 17 | import net.minecraft.tags.FluidTags; 18 | import net.minecraft.tileentity.TileEntity; 19 | import net.minecraft.util.ActionResultType; 20 | import net.minecraft.util.Direction; 21 | import net.minecraft.util.Hand; 22 | import net.minecraft.util.math.BlockPos; 23 | import net.minecraft.util.math.BlockRayTraceResult; 24 | import net.minecraft.util.math.shapes.ISelectionContext; 25 | import net.minecraft.util.math.shapes.VoxelShape; 26 | import net.minecraft.util.text.ITextComponent; 27 | import net.minecraft.util.text.TranslationTextComponent; 28 | import net.minecraft.world.IBlockReader; 29 | import net.minecraft.world.IWorld; 30 | import net.minecraft.world.World; 31 | import net.minecraftforge.common.ToolType; 32 | 33 | import javax.annotation.Nullable; 34 | 35 | public class BlockTinkerTable extends HorizontalBlock implements IWaterLoggable { 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | } -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/item/tool/MPAToolMaterial.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.item.tool; 2 | 3 | import net.minecraft.item.IItemTier; 4 | import net.minecraft.item.Items; 5 | import net.minecraft.item.crafting.Ingredient; 6 | import net.minecraft.util.LazyValue; 7 | 8 | import java.util.function.Supplier; 9 | 10 | public enum MPAToolMaterial implements IItemTier { 11 | EMPTY_TOOL(0, 0, 0, 0.0F, 0, () -> { 12 | return Ingredient.fromItems(Items.AIR); 13 | }); 14 | 15 | private final int harvestLevel; 16 | private final int maxUses; 17 | private final float efficiency; 18 | private final float attackDamage; 19 | private final int enchantability; 20 | private final LazyValue repairMaterial; 21 | 22 | private MPAToolMaterial(int harvestLevel, int maxUses, float efficiency, float attackDamage, int enchantibility, Supplier repairMaterial) { 23 | this.harvestLevel = harvestLevel; 24 | this.maxUses = maxUses; 25 | this.efficiency = efficiency; 26 | this.attackDamage = attackDamage; 27 | this.enchantability = enchantibility; 28 | this.repairMaterial = new LazyValue(repairMaterial); 29 | } 30 | 31 | public int getMaxUses() { 32 | return this.maxUses; 33 | } 34 | 35 | public float getEfficiency() { 36 | return this.efficiency; 37 | } 38 | 39 | public float getAttackDamage() { 40 | return this.attackDamage; 41 | } 42 | 43 | public int getHarvestLevel() { 44 | return this.harvestLevel; 45 | } 46 | 47 | public int getEnchantability() { 48 | return this.enchantability; 49 | } 50 | 51 | public Ingredient getRepairMaterial() { 52 | return (Ingredient)this.repairMaterial.getValue(); 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/network/packets/ColourInfoPacket.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.network.packets; 2 | 3 | import com.github.lehjr.mpalib.util.capabilities.render.ModelSpecNBTCapability; 4 | import net.minecraft.entity.player.ServerPlayerEntity; 5 | import net.minecraft.network.PacketBuffer; 6 | import net.minecraftforge.fml.network.NetworkEvent; 7 | 8 | import java.util.function.Supplier; 9 | 10 | /** 11 | * Author: MachineMuse (Claire Semple) 12 | * Created: 12:28 PM, 5/6/13 13 | *

14 | * Ported to Java by lehjr on 11/14/16. 15 | */ 16 | public class ColourInfoPacket { 17 | protected int itemSlot; 18 | protected int[] tagData; 19 | 20 | public ColourInfoPacket() { 21 | } 22 | 23 | public ColourInfoPacket(int itemSlot, int[] tagData) { 24 | this.itemSlot = itemSlot; 25 | this.tagData = tagData; 26 | } 27 | 28 | public static void encode(ColourInfoPacket msg, PacketBuffer packetBuffer) { 29 | packetBuffer.writeInt(msg.itemSlot); 30 | packetBuffer.writeVarIntArray(msg.tagData); 31 | } 32 | 33 | public static ColourInfoPacket decode(PacketBuffer packetBuffer) { 34 | return new ColourInfoPacket(packetBuffer.readInt(), packetBuffer.readVarIntArray()); 35 | } 36 | 37 | public static void handle(ColourInfoPacket message, Supplier ctx) { 38 | ctx.get().enqueueWork(() -> { 39 | final ServerPlayerEntity player = ctx.get().getSender(); 40 | int itemSlot = message.itemSlot; 41 | int[] tagData = message.tagData; 42 | 43 | player.inventory.getStackInSlot(itemSlot).getCapability(ModelSpecNBTCapability.RENDER).ifPresent( 44 | render -> { 45 | render.setColorArray(tagData); 46 | }); 47 | }); 48 | ctx.get().setPacketHandled(true); 49 | } 50 | } -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/event/PlayerLoginHandler.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.event; 2 | 3 | import com.github.lehjr.modularpowerarmor.client.control.KeybindManager; 4 | import com.github.lehjr.modularpowerarmor.network.MPAPackets; 5 | import com.github.lehjr.modularpowerarmor.network.packets.OnClientLoginPacket; 6 | import net.minecraft.entity.player.PlayerEntity; 7 | import net.minecraft.entity.player.ServerPlayerEntity; 8 | import net.minecraftforge.event.entity.player.PlayerEvent; 9 | import net.minecraftforge.eventbus.api.SubscribeEvent; 10 | import net.minecraftforge.fml.network.PacketDistributor; 11 | 12 | /** 13 | * Author: MachineMuse (Claire Semple) 14 | * Created: 8:01 PM, 12/05/13 15 | *

16 | * Ported to Java by lehjr on 10/24/16. 17 | */ 18 | public final class PlayerLoginHandler { 19 | @SubscribeEvent 20 | public static void onPlayerLogin(PlayerEvent.PlayerLoggedInEvent event) { 21 | PlayerEntity player = event.getPlayer(); 22 | if (player != null) { 23 | MPAPackets.CHANNEL_INSTANCE.send(PacketDistributor.PLAYER.with(()-> (ServerPlayerEntity) player), new OnClientLoginPacket()); 24 | } 25 | } 26 | 27 | 28 | 29 | // boolean isUsingBuiltInServer = FMLCommonHandler.instance().getMinecraftServerInstance().isSinglePlayer(); 30 | // 31 | // // dedidated server or multiplayer game 32 | // if (!isUsingBuiltInServer || (isUsingBuiltInServer && FMLCommonHandler.instance().getMinecraftServerInstance().getCurrentPlayerCount() > 1)) { 33 | // // sync config settings between client and server 34 | // MPSPackets.sendTo(new MPSPacketConfig(), (EntityPlayerMP) player); 35 | // } else { 36 | // MPSSettings.loadCustomInstallCosts(); 37 | // } 38 | 39 | 40 | 41 | public static void clientPlayerLogin(PlayerEntity player) { 42 | KeybindManager.INSTANCE.readInKeybinds(); 43 | } 44 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![Donate to this project using Patreon](https://img.shields.io/badge/patreon-donate-yellow.svg)](https://www.patreon.com/lehjr) 2 | 3 | # Modular Power Armor (a continuation of Modular Powersuits by MachineMuse) 4 | 5 | Modular Power Armor is a Minecraft mod based around the idea of an inventor who tinkers with high-tech electronics and makes a suit of powered armor chock-full of useful gadgets and features. Inspired by heroes like Iron Man and Megaman as well as by the high-tech armor in mods like IndustrialCraft 2 and EE2. 6 | 7 | ## Changelog 8 | 9 | 10 | ## Downloads 11 | 12 | CurseForge: 13 | 14 | https://www.curseforge.com/minecraft/mc-mods/modular-power-armor 15 | 16 | ## Issues 17 | - Current known issues and progress: https://github.com/lehjr/ModularPowerArmor/issues/17: 18 | 19 | Before posting to the issue tracker, make sure you meet the following criteria. Although this is a successor to Modular Powersutis, some things may have changed. 20 | - You're using the LATEST version of MPA and MPA-Lib from curseforge. 21 | - You've made sure the version of Forge you're using is the one MPA has been compiled for. (Newer is usually OK, but be careful!) 22 | - You've gone through the effort to isolate MPA from other mods that aren't related to the issue. 23 | - You've gone through the effort to find what conditions are necessary to reproduce the issue. 24 | - The issue is subtle enough and has been around long enough that you think we might have missed it. 25 | - You speak English or French well enough to explain yourself without wondering whether you will be understood. 26 | - Be sure to include as much information as you can such as >>>LOGS<<<. I understand that not everyone is well versed in filing bug reports, but I simply will not guess what version of the mod you are using. I will not guess what other mods you have installed. Help me to help you. Seriously folks, these vague bug reports are getting tiresome. 27 | 28 | ## Contacts 29 | 30 | Twitter: 31 | https://twitter.com/Lehjr1 32 | 33 | E-Mail: lehjr1@gmail.com 34 | -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/item/module/movement/AttributeModifier.java: -------------------------------------------------------------------------------- 1 | //package com.github.lehjr.modularpowerarmor.item.module.movement; 2 | // 3 | //import net.minecraft.inventory.EquipmentSlotType; 4 | //import net.minecraft.nbt.CompoundNBT; 5 | // 6 | //import java.util.Objects; 7 | // 8 | ///** 9 | // * Author: MachineMuse (Claire Semple) 10 | // * Created: 10:10 AM, 8/7/13 11 | // * 12 | // * Created by leon on 10/18/16. 13 | // */ 14 | //public class AttributeModifier { 15 | // final int operation; 16 | // final UUID uuid; 17 | // final double amount; 18 | // final String attributeName; 19 | // final String id; 20 | // final EquipmentSlotType slot; 21 | // 22 | // public AttributeModifier(int operation, UUID uuid, double amount, String attributeName, String id, EquipmentSlotType slotIn) { 23 | // this.operation = operation; 24 | // this.uuid = uuid; 25 | // this.amount = amount; 26 | // this.attributeName = attributeName; 27 | // this.id = id; 28 | // this.slot = slotIn; 29 | // } 30 | // 31 | // public AttributeModifier(CompoundNBT nbt) { 32 | // this.operation = nbt.getInteger("Operation"); 33 | // this.uuid = new UUID(nbt); 34 | // this.amount = nbt.getDouble("Amount"); 35 | // this.attributeName = nbt.getString("AttributeName"); 36 | // this.id = nbt.getString("Name"); 37 | // this.slot = EquipmentSlotType.fromString(!Objects.equals(nbt.getString("Slot"), "") ? nbt.getString("Slot").toLowerCase() : "legs" ); 38 | // } 39 | // 40 | // public CompoundNBT toNBT(CompoundNBT nbt) { 41 | // nbt.setInteger("Operation", operation); 42 | // uuid.toNBT(nbt); 43 | // nbt.setDouble("Amount", amount); 44 | // nbt.setString("AttributeName", attributeName); 45 | // nbt.setString("Name", id); 46 | // nbt.setString("Slot", slot.getName()); 47 | // return nbt; 48 | // } 49 | // 50 | // public CompoundNBT toNBT() { 51 | // return toNBT(new CompoundNBT()); 52 | // } 53 | //} -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/network/packets/CreativeInstallModuleRequestPacket.java: -------------------------------------------------------------------------------- 1 | package com.github.lehjr.modularpowerarmor.network.packets; 2 | 3 | import net.minecraft.entity.player.ServerPlayerEntity; 4 | import net.minecraft.item.ItemStack; 5 | import net.minecraft.network.PacketBuffer; 6 | import net.minecraftforge.fml.network.NetworkEvent; 7 | 8 | import javax.annotation.Nonnull; 9 | import java.util.function.Supplier; 10 | 11 | /** 12 | * creates a new itemstack on both client and server side 13 | */ 14 | public class CreativeInstallModuleRequestPacket { 15 | int windowId; 16 | int slotId; 17 | ItemStack itemStack; 18 | 19 | public CreativeInstallModuleRequestPacket(int windowIdIn, int slotIdIn, @Nonnull ItemStack itemStackIn) { 20 | windowId = windowIdIn; 21 | slotId = slotIdIn; 22 | itemStack = itemStackIn; 23 | } 24 | 25 | public static void encode(CreativeInstallModuleRequestPacket msg, PacketBuffer packetBuffer) { 26 | packetBuffer.writeInt(msg.windowId); 27 | packetBuffer.writeInt(msg.slotId); 28 | packetBuffer.writeItemStack(msg.itemStack); 29 | } 30 | 31 | public static CreativeInstallModuleRequestPacket decode(PacketBuffer packetBuffer) { 32 | return new CreativeInstallModuleRequestPacket( 33 | packetBuffer.readInt(), 34 | packetBuffer.readInt(), 35 | packetBuffer.readItemStack()); 36 | } 37 | 38 | 39 | public static void handle(CreativeInstallModuleRequestPacket message, Supplier ctx) { 40 | ctx.get().enqueueWork(() -> { 41 | ServerPlayerEntity player = ctx.get().getSender(); 42 | if (player.openContainer != null && player.openContainer.windowId == message.windowId) { 43 | player.openContainer.putStackInSlot(message.slotId, message.itemStack); 44 | // player.openContainer.detectAndSendChanges(); 45 | } 46 | }); 47 | ctx.get().setPacketHandled(true); 48 | } 49 | } -------------------------------------------------------------------------------- /bu_1.16.3/com/github/lehjr/modularpowerarmor/item/armor/IModularItemBase.java: -------------------------------------------------------------------------------- 1 | //package com.github.lehjr.modularpowerarmor.item.armor; 2 | // 3 | //import com.github.lehjr.mpalib.basemod.MPALibLogger; 4 | //import com.github.lehjr.mpalib.basemod.MPALibConstants; 5 | //import com.github.lehjr.mpalib.client.render.modelspec.ModelRegistry; 6 | //import com.github.lehjr.mpalib.client.render.modelspec.TexturePartSpec; 7 | //import com.github.lehjr.mpalib.math.Colour; 8 | //import com.github.lehjr.mpalib.string.StringUtils; 9 | //import com.github.lehjr.modularpowerarmor.client.model.helper.MPSModelHelper; 10 | //import net.minecraft.entity.player.PlayerEntity; 11 | //import net.minecraft.item.ItemStack; 12 | //import net.minecraft.nbt.CompoundNBT; 13 | // 14 | ///** 15 | // * Author: MachineMuse (Claire Semple) 16 | // * Created: 7:49 PM, 4/23/13 17 | // *

18 | // * Ported to Java by lehjr on 11/4/16. 19 | // */ 20 | //public interface IModularItemBase { 21 | // default Colour getColorFromItemStack(ItemStack stack) { 22 | // try { 23 | // CompoundNBT renderTag = MPSModelHelper.getRenderTag(stack); 24 | // if (renderTag.contains(MPALibConstants.NBT_TEXTURESPEC_TAG)) { 25 | // TexturePartSpec partSpec = (TexturePartSpec) ModelRegistry.getInstance().getPart(renderTag.getCompound(MPALibConstants.NBT_TEXTURESPEC_TAG)); 26 | // CompoundNBT specTag = renderTag.getCompound(MPALibConstants.NBT_TEXTURESPEC_TAG); 27 | // int index = partSpec.getColourIndex(specTag); 28 | // int[] colours = renderTag.getIntArray(MPALibConstants.TAG_COLOURS); 29 | // if (colours.length > index) 30 | // return new Colour(colours[index]); 31 | // } 32 | // } catch (Exception e) { 33 | // MPALibLogger.logException("something failed here: ", e); 34 | // } 35 | // return Colour.WHITE; 36 | // } 37 | // 38 | // default String formatInfo(String string, double value) { 39 | // return string + '\t' + StringUtils.formatNumberShort(value); 40 | // } 41 | // 42 | // default double getArmorDouble(PlayerEntity player, ItemStack stack) { 43 | // return 0; 44 | // } 45 | //} -------------------------------------------------------------------------------- /src/main/java/com/github/lehjr/modularpowerarmor/network/packets/MusePacketCosmeticPreset.java: -------------------------------------------------------------------------------- 1 | //package com.github.lehjr.modularpowerarmor.network.packets; 2 | // 3 | //import com.github.lehjr.mpalib.capabilities.render.ModelSpecNBT; 4 | //import com.github.lehjr.mpalib.capabilities.render.ModelSpecNBTCapability; 5 | //import net.minecraft.entity.player.ServerPlayerEntity; 6 | //import net.minecraft.network.PacketBuffer; 7 | //import net.minecraftforge.fml.network.NetworkEvent; 8 | // 9 | //import java.util.function.Supplier; 10 | // 11 | //public class MusePacketCosmeticPreset { 12 | // protected int itemSlot; 13 | // protected String presetName; 14 | // 15 | // public MusePacketCosmeticPreset() { 16 | // } 17 | // 18 | // public MusePacketCosmeticPreset(int itemSlot, String presetName) { 19 | // this.itemSlot = itemSlot; 20 | // this.presetName = presetName; 21 | // } 22 | // 23 | // public static void encode(MusePacketCosmeticPreset msg, PacketBuffer packetBuffer) { 24 | // packetBuffer.writeInt(msg.itemSlot); 25 | // packetBuffer.writeString(msg.presetName); 26 | // } 27 | // 28 | // public static MusePacketCosmeticPreset decode(PacketBuffer packetBuffer) { 29 | // return new MusePacketCosmeticPreset(packetBuffer.readInt(), packetBuffer.readString(500)); 30 | // } 31 | // 32 | // public static void handle(MusePacketCosmeticPreset message, Supplier ctx) { 33 | // ctx.get().enqueueWork(() -> { 34 | // final ServerPlayerEntity player = ctx.get().getSender(); 35 | // int itemSlot = message.itemSlot; 36 | // String presetName = message.presetName; 37 | // 38 | // player.inventory.getStackInSlot(itemSlot).getCapability(ModelSpecNBTCapability.RENDER).ifPresent(render-> { 39 | // render.getRenderTag(); 40 | // 41 | // 42 | // // fixme preset stuff again 43 | //// CompoundNBT itemTag = NBTUtils.getMuseItemTag(stack); 44 | //// itemTag.remove(MPALibConstants.TAG_RENDER); 45 | //// itemTag.putString(MPALibConstants.TAG_COSMETIC_PRESET, presetName); 46 | // }); 47 | // }); 48 | // } 49 | //} --------------------------------------------------------------------------------