Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Magic Energy Absorber Machine #2389

Open
wants to merge 26 commits into
base: 1.20.1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
d8d652d
magic energy absorber machine
omergunr100 Nov 17, 2024
c4e988b
register magic energy absorber
omergunr100 Nov 17, 2024
a0116c8
run data
omergunr100 Nov 17, 2024
2d1c058
magic energy absorber is EV only
omergunr100 Nov 17, 2024
b5eba6c
add recipe and move generator to ev only
omergunr100 Nov 17, 2024
622441b
file organization and data gen
omergunr100 Nov 17, 2024
24e94be
Merge branch '1.20.1' into 1.20.1-magic-energy-absorber
omergunr100 Nov 17, 2024
529dd02
Merge remote-tracking branch 'origin/1.20.1-magic-energy-absorber' in…
omergunr100 Nov 17, 2024
3aba2e0
destroy generator when in proximity to ender dragon
omergunr100 Nov 17, 2024
09d3be1
take only one crystal from any spike
omergunr100 Nov 17, 2024
4fb7c2d
take only one crystal from any spike
omergunr100 Nov 17, 2024
340b9b8
Merge remote-tracking branch 'origin/1.20.1-magic-energy-absorber' in…
omergunr100 Nov 17, 2024
f5e4605
remove unnecessary voltage and tier in name (since there's only ev)
omergunr100 Nov 17, 2024
65fc9b0
made the output power and multiplier a parameter
omergunr100 Nov 17, 2024
be413f2
rendering and data gen
omergunr100 Nov 17, 2024
ce2b0ff
okay, figure out the format
omergunr100 Nov 19, 2024
e249bf1
switched renderer
omergunr100 Nov 19, 2024
7146ea1
added rerender member
omergunr100 Nov 19, 2024
e3ec915
reduced amps to max 1
omergunr100 Nov 19, 2024
5a9aa11
Merge branch '1.20.1' into 1.20.1-magic-energy-absorber
omergunr100 Nov 22, 2024
4463b10
Merge branch '1.20.1' into 1.20.1-magic-energy-absorber
omergunr100 Nov 27, 2024
24a581b
made disabling the machine possible
omergunr100 Nov 29, 2024
b95893c
tooltip lang
omergunr100 Dec 11, 2024
070e7ca
Merge remote-tracking branch 'official/1.20.1' into 1.20.1-magic-ener…
omergunr100 Dec 11, 2024
b0a19d0
compass is kil
omergunr100 Dec 11, 2024
4beca34
run data
omergunr100 Dec 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"page": "gtceu:machines/buffer",
"position": [
-100,
-50,
300
],
"section": "gtceu:machines"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
],
"page": "gtceu:machines/crate",
"position": [
-150,
-100,
350
],
"section": "gtceu:machines"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"page": "gtceu:machines/creative_chest",
"position": [
-300,
-250,
350
],
"section": "gtceu:machines"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"page": "gtceu:machines/creative_computation_provider",
"position": [
-400,
-350,
350
],
"section": "gtceu:machines"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
],
"page": "gtceu:machines/creative_energy",
"position": [
-50,
300
-400,
350
],
"section": "gtceu:machines"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"page": "gtceu:machines/creative_tank",
"position": [
-350,
-300,
350
],
"section": "gtceu:machines"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"page": "gtceu:machines/drum",
"position": [
-100,
-50,
350
],
"section": "gtceu:machines"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"button_texture": {
"type": "item",
"res": "gtceu:ev_magic_energy_absorber"
},
"items": [
"gtceu:ev_magic_energy_absorber"
],
"page": "gtceu:machines/ev_magic_energy_absorber",
"position": [
-100,
300
],
"section": "gtceu:machines"
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
],
"page": "gtceu:machines/super_chest",
"position": [
-250,
-200,
350
],
"section": "gtceu:machines"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
],
"page": "gtceu:machines/super_tank",
"position": [
-200,
-150,
350
],
"section": "gtceu:machines"
Expand Down
10 changes: 10 additions & 0 deletions src/generated/resources/assets/gtceu/lang/en_ud.json
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@
"block.gtceu.ev_macerator": "ɹ§III ɹoʇɐɹǝɔɐW pǝɔuɐʌpⱯϛ§",
"block.gtceu.ev_machine_casing": "buısɐƆ ǝuıɥɔɐW ΛƎ",
"block.gtceu.ev_machine_hull": "ןןnH ǝuıɥɔɐW ΛƎ",
"block.gtceu.ev_magic_energy_absorber": "ɹǝqɹosqⱯ ʎbɹǝuƎ ɔıbɐW",
"block.gtceu.ev_mixer": "ɹ§III ɹǝxıW pǝɔuɐʌpⱯϛ§",
"block.gtceu.ev_muffler_hatch": "ΛƎϛ§ ɥɔʇɐH ɹǝןɟɟnW",
"block.gtceu.ev_ore_washer": "ɹ§III ɹǝɥsɐM ǝɹO pǝɔuɐʌpⱯϛ§",
Expand Down Expand Up @@ -1944,6 +1945,7 @@
"compass.node.gtceu.machines/electric_furnace": "ǝɔɐuɹnℲ ɔıɹʇɔǝןƎ",
"compass.node.gtceu.machines/electrolyzer": "ɹǝzʎןoɹʇɔǝןƎ",
"compass.node.gtceu.machines/electromagnetic_separator": "ɹoʇɐɹɐdǝS ɔıʇǝubɐɯoɹʇɔǝןƎ",
"compass.node.gtceu.machines/ev_magic_energy_absorber": "ɹǝqɹosqⱯ ʎbɹǝuƎ ɔıbɐW ʌƎ",
"compass.node.gtceu.machines/extractor": "ɹoʇɔɐɹʇxƎ",
"compass.node.gtceu.machines/extruder": "ɹǝpnɹʇxƎ",
"compass.node.gtceu.machines/fermenter": "ɹǝʇuǝɯɹǝℲ",
Expand Down Expand Up @@ -3350,6 +3352,14 @@
"gtceu.machine.machine_hatch.locked": "pǝʞɔoꞀ ǝɔɐɟɹǝʇuI ǝuıɥɔɐW",
"gtceu.machine.machine_hatch.processing_array": "ʎɐɹɹⱯ buıssǝɔoɹԀǝ§ ǝɥʇ uı ʞɹoʍ ʇɐɥʇ sǝuıɥɔɐɯ spןoɥ ʎןuo 'ㄥ§ʎɐɹɹⱯ buıssǝɔoɹԀǝ§ ǝɥʇ uı uǝɥM",
"gtceu.machine.machine_hatch.tooltip": "sɯǝʇı pıןɐʌ spןoɥ ʎןuo ʇɐɥʇ snᗺ ssǝɔɔⱯ pǝzıןɐıɔǝdS",
"gtceu.machine.magic_energy_absorber.name": "ɹǝqɹosqⱯ ʎbɹǝuƎ ɔıbɐW",
"gtceu.machine.magic_energy_absorber.tooltip.0": ")ㄥ§ΛƎϛ§(ㄥ§ 8ㄣ0ᄅɐ§ :⟘∩O ǝbɐʇןoΛ xɐW",
"gtceu.machine.magic_energy_absorber.tooltip.1": "˙sʞɔoןq ㄣ9 uıɥʇıʍ puƎ ǝɥʇ uı sɹɐןןıd uɐıpısqo pǝʇɐɹǝuǝb ʎןןɐɹnʇɐu uo sןɐʇsʎɹɔ puǝ ɯoɹɟ ʎbɹǝuǝ sʇɔǝןןoƆ",
"gtceu.machine.magic_energy_absorber.tooltip.2": "ʇndʇno oʇ ʇ/∩Ǝ ᄅƐ sppɐ ןɐʇsʎɹɔ ɹǝpuǝ ɥɔɐƎ",
"gtceu.machine.magic_energy_absorber.tooltip.3": "ʇndʇno ʎɟıןdɯɐ oʇ doʇ uo bbƎ uobɐɹᗡ ǝɔɐןԀ",
"gtceu.machine.magic_energy_absorber.tooltip.4": "",
"gtceu.machine.magic_energy_absorber.tooltip.5": ":pǝıɟıןdɯɐ uǝɥM",
"gtceu.machine.magic_energy_absorber.tooltip.6": "ʇ/∩Ǝ 8ᄅƖ sppɐ ןɐʇsʎɹɔ ɹǝpuǝ ɥɔɐƎ",
"gtceu.machine.maintenance_hatch.tooltip": "sʞɔoןqıʇןnW buıuıɐʇuıɐɯ ɹoℲ",
"gtceu.machine.maintenance_hatch_cleanroom_auto.tooltip.0": "¡buıuɐǝןƆ ɥʇıʍ sʞɔoןqıʇןnW buıuıɐʇuıɐɯ ʎןןɐɔıʇɐɯoʇnɐ ɹoℲ",
"gtceu.machine.maintenance_hatch_cleanroom_auto.tooltip.1": ":sɐ suɐǝןƆ",
Expand Down
10 changes: 10 additions & 0 deletions src/generated/resources/assets/gtceu/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@
"block.gtceu.ev_macerator": "§5Advanced Macerator III§r",
"block.gtceu.ev_machine_casing": "EV Machine Casing",
"block.gtceu.ev_machine_hull": "EV Machine Hull",
"block.gtceu.ev_magic_energy_absorber": "Magic Energy Absorber",
"block.gtceu.ev_mixer": "§5Advanced Mixer III§r",
"block.gtceu.ev_muffler_hatch": "Muffler Hatch §5EV",
"block.gtceu.ev_ore_washer": "§5Advanced Ore Washer III§r",
Expand Down Expand Up @@ -1944,6 +1945,7 @@
"compass.node.gtceu.machines/electric_furnace": "Electric Furnace",
"compass.node.gtceu.machines/electrolyzer": "Electrolyzer",
"compass.node.gtceu.machines/electromagnetic_separator": "Electromagnetic Separator",
"compass.node.gtceu.machines/ev_magic_energy_absorber": "Ev Magic Energy Absorber",
"compass.node.gtceu.machines/extractor": "Extractor",
"compass.node.gtceu.machines/extruder": "Extruder",
"compass.node.gtceu.machines/fermenter": "Fermenter",
Expand Down Expand Up @@ -3350,6 +3352,14 @@
"gtceu.machine.machine_hatch.locked": "Machine Interface Locked",
"gtceu.machine.machine_hatch.processing_array": "When in the §eProcessing Array§7, only holds machines that work in the §eProcessing Array",
"gtceu.machine.machine_hatch.tooltip": "Specialized Access Bus that only holds valid items",
"gtceu.machine.magic_energy_absorber.name": "Magic Energy Absorber",
"gtceu.machine.magic_energy_absorber.tooltip.0": "Max Voltage OUT: §a2048 §7(§5EV§7)",
"gtceu.machine.magic_energy_absorber.tooltip.1": "Collects energy from end crystals on naturally generated obsidian pillars in the End within 64 blocks.",
omergunr100 marked this conversation as resolved.
Show resolved Hide resolved
"gtceu.machine.magic_energy_absorber.tooltip.2": "Each ender crystal adds 32 EU/t to output",
"gtceu.machine.magic_energy_absorber.tooltip.3": "Place Dragon Egg on top to amplify output",
"gtceu.machine.magic_energy_absorber.tooltip.4": "",
"gtceu.machine.magic_energy_absorber.tooltip.5": "When amplified:",
"gtceu.machine.magic_energy_absorber.tooltip.6": "Each ender crystal adds 128 EU/t",
"gtceu.machine.maintenance_hatch.tooltip": "For maintaining Multiblocks",
"gtceu.machine.maintenance_hatch_cleanroom_auto.tooltip.0": "For automatically maintaining Multiblocks with Cleaning!",
"gtceu.machine.maintenance_hatch_cleanroom_auto.tooltip.1": "Cleans as:",
Expand Down
17 changes: 17 additions & 0 deletions src/main/java/com/gregtechceu/gtceu/common/data/GTMachines.java
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,23 @@ public class GTMachines {
.register(),
LV, MV, HV, EV);

public static final MachineDefinition[] MAGIC_ENERGY_ABSORBER = registerTieredMachines("magic_energy_absorber",
MagicEnergyAbsorberMachine::new,
(tier, builder) -> builder
.rotationState(RotationState.NONE)
.langValue("Magic Energy Absorber")
.workableTieredHullRenderer(GTCEu.id("block/machines/magic_energy_absorber"))
.tooltips(LangHandler.getFromMultiLang("gtceu.machine.magic_energy_absorber.tooltip", 0),
LangHandler.getFromMultiLang("gtceu.machine.magic_energy_absorber.tooltip", 1),
LangHandler.getFromMultiLang("gtceu.machine.magic_energy_absorber.tooltip", 2),
LangHandler.getFromMultiLang("gtceu.machine.magic_energy_absorber.tooltip", 3),
LangHandler.getFromMultiLang("gtceu.machine.magic_energy_absorber.tooltip", 4),
LangHandler.getFromMultiLang("gtceu.machine.magic_energy_absorber.tooltip", 5),
LangHandler.getFromMultiLang("gtceu.machine.magic_energy_absorber.tooltip", 6))
.compassNodeSelf()
.register(),
EV);

//////////////////////////////////////
// ********* Storage *********//
//////////////////////////////////////
Expand Down
Loading
Loading