Skip to content

Commit

Permalink
Merge pull request #666 from HeadOfWC/a1999-dev-patch-1
Browse files Browse the repository at this point in the history
chest transporters
  • Loading branch information
planetme authored Jan 1, 2024
2 parents 6d9ac65 + 34bb90b commit f68f65e
Show file tree
Hide file tree
Showing 5 changed files with 105 additions and 1 deletion.
44 changes: 44 additions & 0 deletions config/chesttransporter.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Configuration file

general {
# Set to false to disable the hunger debuff [default: true]
B:debuffHunger=true

# Set to false to disable the jump debuff [default: true]
B:debuffJump=true

# Set to false to disable the mining fatigue debuff [default: true]
B:debuffMiningFatigue=true

# Set to false to disable the slowness debuff [default: true]
B:debuffSlowness=true

# Set this to false to prevent picking up of mob spawners [default: true]
B:pickupSpawners=true

# Set this to false to prevent the copper transporter to pick up mob spawners [default: true]
B:spawnerWithCopper=true

# Set this to false to prevent the diamond transporter to pick up mob spawners [default: true]
B:spawnerWithDiamond=true

# Set this to false to prevent the gold transporter to pick up mob spawners [default: true]
B:spawnerWithGold=true

# Set this to false to prevent the iron transporter to pick up mob spawners [default: true]
B:spawnerWithIron=true

# Set this to false to prevent the obsidian transporter to pick up mob spawners [default: true]
B:spawnerWithObsidian=true

# Set this to false to prevent the silver transporter to pick up mob spawners [default: true]
B:spawnerWithSilver=true

# Set this to false to prevent the tin transporter to pick up mob spawners [default: true]
B:spawnerWithTin=true

# Set this to false to prevent the wood transporter to pick up mob spawners [default: true]
B:spawnerWithWood=true
}


4 changes: 4 additions & 0 deletions config/jei/itemBlacklist.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ advanced {
enchantment:enchantment.protect.explosion.lvl2
enchantment:enchantment.protect.explosion.lvl1
rftools:powercell_advanced
chesttransporter:chesttransporter_gold
gaspunk:grenade:{"gaspunk:contained_gas":"gaspunk:colored_smoke_yellow"}
rftools:pearl_injector
enchantment:enchantment.protect.explosion.lvl4
Expand Down Expand Up @@ -174,6 +175,8 @@ advanced {
enchantment:enchantment.protect.fire.lvl1
rftools:machine_frame
gaspunk:grenade:{"gaspunk:contained_gas":"gaspunk:colored_smoke_gray"}
chesttransporter:chesttransporter_obsidian
chesttransporter:chesttransporter_tin
rftools:space_chamber_card
gaspunk:grenade:{"gaspunk:contained_gas":"gaspunk:colored_smoke_magenta",grenade_skin:0}
gaspunk:grenade:{"gaspunk:contained_gas":"gaspunk:vx",grenade_skin:0}
Expand All @@ -188,6 +191,7 @@ advanced {
enchantment:enchantment.sweeping.lvl1
minecraft:lingering_potion
rftools:remote_storage
chesttransporter:chesttransporter_diamond
gaspunk:grenade:{"gaspunk:contained_gas":"gaspunk:colored_smoke_white",grenade_skin:0}
gaspunk:grenade:{"gaspunk:contained_gas":"gaspunk:colored_smoke_black"}
rftools:fluid_module
Expand Down
50 changes: 50 additions & 0 deletions groovy/postInit/mod/ChestTranporters.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
def name_removals = [
'chesttransporter:tin_transporter',
'chesttransporter:gold_transporter',
'chesttransporter:obsidian_transporter',
'chesttransporter:diamond_transporter'
];

for (name in name_removals) {
crafting.remove(name)
}

crafting.replaceShaped('chesttransporter:wooden_transporter', item('chesttransporter:chesttransporter'), [
[metaitem('rubber_drop'), null, metaitem('rubber_drop')],
[item('minecraft:stick'), item('minecraft:stick') , item('minecraft:stick')],
[null, item('minecraft:stick'), null]
]);

crafting.replaceShaped('chesttransporter:iron_transporter', item('chesttransporter:chesttransporter_iron'), [
[ore('plateWroughtIron'), null, ore('plateWroughtIron')],
[ore('screwWroughtIron'), ore('gearSmallIron') , ore('screwWroughtIron')],
[ore('craftingToolScrewdriver'), ore('stickWroughtIron'), ore('craftingToolHardHammer')]
]);

crafting.replaceShaped('chesttransporter:silver_transporter', item('chesttransporter:chesttransporter_silver'), [
[metaitem('robot.arm.lv'), null, metaitem('robot.arm.lv')],
[ore('screwSteel'), ore('gearSmallSteel') , ore('screwSteel')],
[ore('craftingToolScrewdriver'), ore('stickSilver'), ore('craftingToolHardHammer')]
]);

crafting.replaceShaped('chesttransporter:copper_transporter', item('chesttransporter:chesttransporter_copper'), [
[ore('plateBronze'), null, ore('plateBronze')],
[ore('screwBronze'), ore('gearSmallBronze') , ore('screwBronze')],
[ore('craftingToolScrewdriver'), ore('stickBronze'), ore('craftingToolHardHammer')]
]);

recipemap('assembler').recipeBuilder()
.inputs(item('minecraft:stick') * 4)
.fluidInputs(fluid('glue') * 20)
.outputs(item('chesttransporter:chesttransporter'))
.duration(400)
.EUt(16)
.buildAndRegister()

recipemap('assembler').recipeBuilder()
.inputs(item('minecraft:stick') * 4)
.fluidInputs(fluid('resin') * 100)
.outputs(item('chesttransporter:chesttransporter'))
.duration(800)
.EUt(16)
.buildAndRegister()
5 changes: 5 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -895,6 +895,11 @@
"fileID": 2499252,
"required": true
}
{
"projectID": 78778,
"fileID": 2524058,
"required": true
}
],
"overrides": "overrides"
}
3 changes: 2 additions & 1 deletion resources/langfiles/lang/en_us.lang
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ susy.material.diluted_methyl_ii_pyrrolidone=Diluted N-Methyl-2-pyrrolidone
susy.material.dimethyldichlorosilane_emulsion=Dimethyldichlorosilane Emulsion
susy.material.tetrafluoroethylene_emulsion=Tetrafluoroethylene Emulsion
susy.material.dichloromethane=Dichloromethane
susy.material.carbon_tetrachloride=Carbon Tetrachloride
susy.material.carbon_tetrachloride=Carbon Tetrachloride
susy.material.phthalic_acid_solution=Phthalic Acid Solution
susy.material.butanol=Butanol
susy.material.saltpeter_solution=Saltpeter Solution
Expand Down Expand Up @@ -2205,6 +2205,7 @@ recipemap.gravity_separator.name=Gravity Separation
item.chisel.chisel_diamond.name=Steel Chisel
tooltip.computronics.waila.tape.notapeinserted=No Tape Inserted
tooltip.computronics.waila.tape.tapeinserted=Tape Inserted
item.chesttransporter_copper.name=Bronze Chest Transporter

# Resin Logs
gregtech.block_group_members.extractable_logs_1.name=Birch, Jungle, Oak, and Spruce Log
Expand Down

0 comments on commit f68f65e

Please sign in to comment.