Skip to content

Computer Monitor Cover Features#3531

Merged
Ghostipedia merged 136 commits intoGregTechCEu:1.20.1from
TarLaboratories:dynamic-covers
Jul 31, 2025
Merged

Computer Monitor Cover Features#3531
Ghostipedia merged 136 commits intoGregTechCEu:1.20.1from
TarLaboratories:dynamic-covers

Conversation

@TarLaboratories
Copy link
Copy Markdown
Contributor

What

Made the computer monitor cover display configurable text instead of just decorative green lines.
The text has placeholder support.
There are a lot of placeholders available, such as itemCount, energy, fluidCount, etc.. They can even interact with vanilla redstone and create display and redstone links.

Implementation Details

In order to make covers render text, I had to make all coverables have BERs

Outcome

Made the computer monitor cover display configurable text with placeholders.

Additional Information

Screenshots:
image
image
image
image

Potential Compatibility Issues

The game doesn't launch with GTCEu, Create and CC:Tweaked, though it seems to be an issue between Create and CC:Tweaked, because if launching without GTCEu it still crashes.

@TarLaboratories TarLaboratories requested a review from a team as a code owner July 22, 2025 14:29
@Ghostipedia
Copy link
Copy Markdown
Member

This is pretty cool, I'll have to give it a check over ingame while others review it 👍

@Ghostipedia Ghostipedia added the type: feature New feature or request bundled for a 0.X.0 Update label Jul 22, 2025
Copy link
Copy Markdown
Contributor

@screret screret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doing it this way is bound to make peoples' worlds much laggier (in terms of FPS), as BERs aren't very efficient.

Instead of making all machines and pipes have a BER and having the cover render information on itself, the Central monitor should be ported in full (check 1.12 for that).

modExtraLocalRuntime(forge.curios)
// modExtraLocalRuntime(forge.worldstripper)
modExtraLocalRuntime(forge.cc.tweaked.forge.impl)
// modExtraLocalRuntime(forge.cc.tweaked.forge.impl) for some reason this breaks create
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be looked into

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it appears to be an issue between cc tweaked and create, it crashes even without gtceu

Copy link
Copy Markdown
Member

@Ghostipedia Ghostipedia Jul 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently reaching out to someone I know does a bunch of CC:Tweaked and Create compat. They may know why- I believe for the time being we should mark this review comment as something worth investigating in a different PR.

Due to the nature and size of this PR, it'd be a good idea to get this into the 7.1.0-SNAPSHOT cycle now so it has ample time to get testers to find bugs and edge cases that we'll need to handle.

@screret
Copy link
Copy Markdown
Contributor

screret commented Jul 22, 2025

also, you should run the spotlessApply gradle task, Preferably before every commit

@TarLaboratories TarLaboratories requested a review from screret July 22, 2025 17:53
@Ghostipedia Ghostipedia removed the Do Not Merge DO NOT MERGE THIS PR YET! label Jul 31, 2025
@Ghostipedia Ghostipedia enabled auto-merge (squash) July 31, 2025 08:41
@Ghostipedia Ghostipedia merged commit e2ef1f5 into GregTechCEu:1.20.1 Jul 31, 2025
2 checks passed
@TarLaboratories TarLaboratories deleted the dynamic-covers branch July 31, 2025 09:26
@squigglezworth
Copy link
Copy Markdown

Can we get some info on how to use the Central Monitor added here? I can't seem to figure out the wireless transmission part (if it's complete?)

@TarLaboratories
Copy link
Copy Markdown
Contributor Author

It is complete, though quite unintuitive.
First, right-click a wireless tranamitter cover with a data stick.
Then, put the data stick into a data hatch on the central monitor.
Select the hatch as a target for a monitor group and specify the slot number of the data stick in the top right corner of the central monitor UI

@TarLaboratories
Copy link
Copy Markdown
Contributor Author

Gameplay docs are already written but the PR isn't merged yet

@squigglezworth
Copy link
Copy Markdown

Thanks so much for the quick reply!

I seem to be stuck on the "Set hatch as target" part. I assume I'm meant to click the Set Target button after selecting a group but nothing seems to happen

@TarLaboratories
Copy link
Copy Markdown
Contributor Author

To select the hatch, right-click it, it should then be highlighted with blue. A number input should appear when you do that. It's for the number of the slot the data stick is in. Then click "set target" (there will be no visual feedback though)

@TarLaboratories
Copy link
Copy Markdown
Contributor Author

I really should've made this more intuitive

@jurrejelle
Copy link
Copy Markdown
Contributor

I really should've made this more intuitive

Best time was when you made the PR, second best time is today ;)

@squigglezworth
Copy link
Copy Markdown

Okay... So the full process is:

  1. Select your monitors
  2. Create a group
  3. Select that group
  4. Right-click a Data Access Hatch
  5. Select the slot containing a Data Stick pointing to your Wireless Transmitter
  6. Click 'Set Target'

Phew! This has been driving me crazy! Thanks for the help!

But yeah, could be a wee bit more intuitive :) Either way, really excited to have this available. I've been wanting to remote monitor my machines and this scratches that itch nicely.

GUI Proxy when tho? :D

@TarLaboratories
Copy link
Copy Markdown
Contributor Author

GUI Proxy is probably 8.0 or 8.1, after UI rework, and when i figure out how to do that :)

@TarLaboratories
Copy link
Copy Markdown
Contributor Author

PR with the docs is this one btw: #3900

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Release: Major - 0.X.0 Releases focused on Content, changes to gameplay; While maintaining mostly API stability. type: feature New feature or request bundled for a 0.X.0 Update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants