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

Conversation

omergunr100
Copy link
Contributor

@omergunr100 omergunr100 commented Nov 17, 2024

What

Adds the magic energy absorber.

Implementation Details

The generator will generate energy based on the amount of natural
forming end crystals in a 64 block radius and if it has a dragon egg on top it'll generate 4 times as much.

You probably should only have at most 1 of these per game world, the range covers all the natural spawning crystal spikes from the center of the island.

When the absorber "steals" a crystal's focus from the dragon, the dragon will target the absorber, when it gets within a threshold from the dragon it'll explode.

Todo

  • Find the correct renderer for the block.
  • Make ender dragon destroy the generator.
  • Add tooltips.

@omergunr100
Copy link
Contributor Author

image

The block is supposed to have an inactive and active texture, the yellow is active while the blue is inactive.
I don't know how to do that using the machine renderers.
My current attempt got 2 sides to have the active and 2 sides to have the inactive texture, I'm at a loss.

@omergunr100
Copy link
Contributor Author

works

@omergunr100 omergunr100 marked this pull request as ready for review November 19, 2024 01:11
@omergunr100 omergunr100 requested a review from a team as a code owner November 19, 2024 01:11
dropped syncing multiple values

better code formatting
@omergunr100 omergunr100 requested a review from screret November 29, 2024 23:29
@YoungOnionMC YoungOnionMC added the Do Not Merge DO NOT MERGE THIS PR YET! label Nov 30, 2024
…gy-absorber

# Conflicts:
#	src/generated/resources/assets/gtceu/compass/nodes/machines/buffer.json
#	src/generated/resources/assets/gtceu/compass/nodes/machines/crate.json
#	src/generated/resources/assets/gtceu/compass/nodes/machines/creative_chest.json
#	src/generated/resources/assets/gtceu/compass/nodes/machines/creative_computation_provider.json
#	src/generated/resources/assets/gtceu/compass/nodes/machines/creative_energy.json
#	src/generated/resources/assets/gtceu/compass/nodes/machines/creative_tank.json
#	src/generated/resources/assets/gtceu/compass/nodes/machines/drum.json
#	src/generated/resources/assets/gtceu/compass/nodes/machines/super_chest.json
#	src/generated/resources/assets/gtceu/compass/nodes/machines/super_tank.json
#	src/generated/resources/assets/gtceu/lang/en_ud.json
#	src/generated/resources/assets/gtceu/lang/en_us.json
#	src/main/java/com/gregtechceu/gtceu/data/lang/MachineLang.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Do Not Merge DO NOT MERGE THIS PR YET!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants