Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
136 commits
Select commit Hold shift + click to select a range
3d0a63a
implemented dynamic text rendering on covers
TarLaboratories Jul 19, 2025
fdf86fc
added a gui to edit displayed text with placeholder support
TarLaboratories Jul 20, 2025
1ed499f
improved gui, added "calc" placeholder
TarLaboratories Jul 21, 2025
b67f4c4
improved gui, still can't center a div
TarLaboratories Jul 21, 2025
06af46b
who needs gui titles anyway
TarLaboratories Jul 21, 2025
72c4eb0
made item count placeholder
TarLaboratories Jul 21, 2025
95166ad
added in-game placeholder info
TarLaboratories Jul 21, 2025
8af54d4
added create display link compatibility for computer monitor cover, a…
TarLaboratories Jul 22, 2025
71103ef
forgot to uncomment spark
TarLaboratories Jul 22, 2025
1bd6698
added some more placeholders
TarLaboratories Jul 22, 2025
858f278
made most text translatable
TarLaboratories Jul 22, 2025
4899951
fixed update interval input tooltip
TarLaboratories Jul 22, 2025
393f557
added redstone placeholder
TarLaboratories Jul 22, 2025
02e87ee
added fluidCount placeholder
TarLaboratories Jul 22, 2025
0c2a7de
added displayTarget placeholder
TarLaboratories Jul 22, 2025
6a7e4c4
Merge branch 'GregTechCEu:1.20.1' into dynamic-covers
TarLaboratories Jul 22, 2025
2834937
fixed mod not working without create
TarLaboratories Jul 22, 2025
8c18b11
Merge remote-tracking branch 'origin/dynamic-covers' into dynamic-covers
TarLaboratories Jul 22, 2025
8aca865
the placeholder system is potentially turing-complete now (added prev…
TarLaboratories Jul 22, 2025
be49108
fixed formatting
TarLaboratories Jul 22, 2025
ddbff4d
fixed gradle stuff
TarLaboratories Jul 22, 2025
bbd0efc
small fixes all over the place, mainly the mod now works on server
TarLaboratories Jul 22, 2025
94d8050
formatting
TarLaboratories Jul 22, 2025
87f308c
moved placeholder init
TarLaboratories Jul 22, 2025
5bd332b
made placeholder list scrollable
TarLaboratories Jul 22, 2025
a9c8319
fixes here and there, made all text translatable
TarLaboratories Jul 23, 2025
4eb805e
Merge branch '1.20.1' into dynamic-covers
TarLaboratories Jul 23, 2025
b9b728a
moved create registrate stuff, made some more text translatable
TarLaboratories Jul 23, 2025
a37b510
removed create registrate inner class
TarLaboratories Jul 23, 2025
99cd4f8
added config option for machines having BERs
TarLaboratories Jul 23, 2025
3ef49c7
Merge branch '1.20.1' into dynamic-covers
TarLaboratories Jul 24, 2025
9003d4c
added a bit of placeholders (ae2 compat, data storage)
TarLaboratories Jul 24, 2025
d3d19fc
Merge branch '1.20.1' into dynamic-covers
TarLaboratories Jul 24, 2025
a039dc1
fix after merge conflict
TarLaboratories Jul 24, 2025
4097e38
fixed backslash not working properly
TarLaboratories Jul 24, 2025
fe6b442
just multiblock definition, no functionality yet
TarLaboratories Jul 25, 2025
18a75f0
added central monitor gui, non-functional (yet)
TarLaboratories Jul 25, 2025
b870b7e
oops forgot datagen
TarLaboratories Jul 25, 2025
71c4ed8
Update src/main/java/com/gregtechceu/gtceu/common/machine/multiblock/…
TarLaboratories Jul 25, 2025
0704f7b
added suggested changes
TarLaboratories Jul 25, 2025
28e2af9
added a way to copy/paste computer monitor cover settings, also made …
TarLaboratories Jul 25, 2025
bd22174
monitor groups should be fully working now (add/remove through gui)
TarLaboratories Jul 25, 2025
40cbdb9
(kinda) refactored the placeholder system, it's not tied into the com…
TarLaboratories Jul 26, 2025
c3ba06c
text module works now (with placeholders of course)
TarLaboratories Jul 27, 2025
f975600
placeholders in text module can now reference blocks from the compute…
TarLaboratories Jul 27, 2025
d67f5c6
datagen
TarLaboratories Jul 27, 2025
ef75afc
wireless cover works now
TarLaboratories Jul 27, 2025
fe54c2e
added info widget
TarLaboratories Jul 27, 2025
52e1cb7
made non-monitors non-selectable
TarLaboratories Jul 27, 2025
0e6e8da
Merge branch '1.20.1' into dynamic-covers
TarLaboratories Jul 28, 2025
6cc7349
Merge branch '1.20.1' into dynamic-covers
TarLaboratories Jul 28, 2025
622948e
image module works but rendering doesnt
TarLaboratories Jul 28, 2025
9b8ca14
datagen
TarLaboratories Jul 28, 2025
da0de41
fixed text module's text not synchronizing to client
TarLaboratories Jul 28, 2025
60b37d6
Merge branch '1.20.1' into dynamic-covers
TarLaboratories Jul 28, 2025
411be93
Merge branch '1.20.1' into dynamic-covers
TarLaboratories Jul 28, 2025
6459b7c
added background to monitor
TarLaboratories Jul 28, 2025
1f874e1
fixed monitor being offset in literally any configuration that is not…
TarLaboratories Jul 28, 2025
3e15af5
fixed crash still no idea how it was caused lol
TarLaboratories Jul 28, 2025
ee46369
made things translatable
TarLaboratories Jul 28, 2025
874b226
made component selection scrollable
TarLaboratories Jul 28, 2025
241b05b
added slots for items that placeholders interact with
TarLaboratories Jul 28, 2025
b1b5ef7
placeholder reference is now displayed in the central monitor text mo…
TarLaboratories Jul 28, 2025
ba297f7
made central monitor drop the modules that were inside it
TarLaboratories Jul 28, 2025
e605238
added basic data access hatch (hv) with 4 slots for doing wireless co…
TarLaboratories Jul 28, 2025
5f359c0
Merge branch '1.20.1' into dynamic-covers
TarLaboratories Jul 28, 2025
83f4e91
added tooltips for data items
TarLaboratories Jul 28, 2025
d726ccc
changed the central monitor UI a little
TarLaboratories Jul 28, 2025
1630cf1
make PlaceholderHandler static
screret Jul 28, 2025
fd72c86
reorganize placeholder handling classes
screret Jul 28, 2025
cf9f539
clean up monitor group serialization
screret Jul 28, 2025
1cca083
make ImageCache server safe
screret Jul 28, 2025
5c2bc12
use primitive sets/lists where applicable
screret Jul 28, 2025
b75da0c
spotless, other formatting changes
screret Jul 28, 2025
506e270
we can't use any AWT classes because it isn't inlcuded in the usual J…
screret Jul 28, 2025
0702ffb
refactor CentralMonitorLogic to use Recipelogic's fields instead of i…
screret Jul 28, 2025
517e60e
more minor formatting changes
screret Jul 28, 2025
1affd28
fix MonitorImageRenderer
screret Jul 28, 2025
7c83dfd
spotless
screret Jul 28, 2025
7944e72
fix rebase errors
screret Jul 28, 2025
2db5ce9
fixed things, added text scale input
TarLaboratories Jul 28, 2025
8d9997f
fixed image requesting getting stuck if invalid url
TarLaboratories Jul 29, 2025
5cde57d
made image scale depending on the monitors you selected
TarLaboratories Jul 29, 2025
ad11901
Merge branch '1.20.1' into dynamic-covers
TarLaboratories Jul 29, 2025
63ef1c1
fixed vertical monitors
TarLaboratories Jul 29, 2025
1bc52a6
removed auto-sync for text scale input
TarLaboratories Jul 29, 2025
e005cd1
made central monitors still require energy hatches
TarLaboratories Jul 29, 2025
4ca9f83
up to 4 data hatches now
TarLaboratories Jul 29, 2025
1a0ed97
disabled upwards facing monitors
TarLaboratories Jul 29, 2025
753d51b
Update model (Couldn't run Data)
Ghostipedia Jul 29, 2025
b055e0e
Revert "Update model (Couldn't run Data)"
Ghostipedia Jul 29, 2025
30a8514
Revert "Revert "Update model (Couldn't run Data)""
Ghostipedia Jul 29, 2025
573d175
Update Textures
Ghostipedia Jul 29, 2025
f7e3945
made the central monitor drop items from removed groups
TarLaboratories Jul 29, 2025
e30fddc
fix monitor block model
screret Jul 29, 2025
3c45037
fix datagen crashing
screret Jul 29, 2025
8b88754
make monitor components use a capability instead of instanceof checks
screret Jul 29, 2025
e95331b
add a default impl for `IMonitorComponent#isMonitor`
screret Jul 29, 2025
3bfe67a
spotless
screret Jul 29, 2025
2c4d21c
added cc:tweaked integration
TarLaboratories Jul 29, 2025
2417e43
Merge remote-tracking branch 'origin/dynamic-covers' into dynamic-covers
TarLaboratories Jul 29, 2025
5f02923
Merge branch '1.20.1' into dynamic-covers
TarLaboratories Jul 29, 2025
8f9ac0f
adjusted gui
TarLaboratories Jul 29, 2025
0164cb1
fixed upwards facing cental monitor (yay!)
TarLaboratories Jul 29, 2025
956b6f7
Central Monitor Texture Overlays
Ghostipedia Jul 29, 2025
615ba0b
Merge remote-tracking branch 'TarLaboratories/dynamic-covers' into fo…
Ghostipedia Jul 29, 2025
71351d4
added recipes
TarLaboratories Jul 29, 2025
da689ba
clean up monitor background rendering
screret Jul 29, 2025
608c1a0
Add CTM to the monitor overlay textures
screret Jul 29, 2025
57ecab2
fix monitor screen render bounds
screret Jul 29, 2025
5af8ad6
remove unnecessary parameters from pattern builder
screret Jul 29, 2025
cb0b86f
use custom render type for monitor images for cleaner code
screret Jul 29, 2025
422d845
remove the dynamic background
screret Jul 29, 2025
93c4cb3
add some barebones text to the main window
screret Jul 29, 2025
f7553a6
disable monitor block UI
screret Jul 29, 2025
4a23cd6
disallow 2x1 central monitors
screret Jul 29, 2025
427bbf5
fix controller overlays
screret Jul 29, 2025
58b9466
remove animation from the base texture
screret Jul 29, 2025
ddc2ab7
fix screen rotation? idk it works
screret Jul 29, 2025
9f2584d
add a max lifetime to cached images
screret Jul 29, 2025
525948d
added subList placeholder
TarLaboratories Jul 29, 2025
98144ef
Merge remote-tracking branch 'origin/dynamic-covers' into dynamic-covers
TarLaboratories Jul 29, 2025
7406d9e
added cmp placeholder
TarLaboratories Jul 29, 2025
1daf050
added brainfuck placeholder
TarLaboratories Jul 29, 2025
effef4f
added brainfuck placeholder
TarLaboratories Jul 29, 2025
9724009
added command placeholder
TarLaboratories Jul 29, 2025
b9415f4
Merge remote-tracking branch 'origin/dynamic-covers' into dynamic-covers
TarLaboratories Jul 29, 2025
2cd0b15
added tm placeholder
TarLaboratories Jul 29, 2025
ed62fc2
moved target data stick slot input so that it doesnt overlap with com…
TarLaboratories Jul 29, 2025
3eed4b1
added formatInt placeholder, fixed command placeholder
TarLaboratories Jul 29, 2025
5836c7f
Merge branch '1.20.1' into dynamic-covers
TarLaboratories Jul 30, 2025
00e9a0b
made commands execute as the player the item is bound to
TarLaboratories Jul 30, 2025
9c6a1ff
Merge branch '1.20.1' into dynamic-covers
TarLaboratories Jul 30, 2025
09e159a
Merge branch '1.20.1' into dynamic-covers
Ghostipedia Jul 31, 2025
269343f
Merge branch '1.20.1' into dynamic-covers
Ghostipedia Jul 31, 2025
2aecdad
Merge branch '1.20.1' into dynamic-covers
Ghostipedia Jul 31, 2025
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
10 changes: 9 additions & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ dependencies {
modCompileOnly(forge.ae2)
modCompileOnly(forge.ae2wtlib)

// Create
modCompileOnly(forge.ponder)
modCompileOnly(variantOf(forge.create) { classifier("slim") })
modCompileOnly(forge.flywheel.forge.api)

// KJS
modCompileOnly(forge.kubejs)
modCompileOnly(forge.architectury)
Expand Down Expand Up @@ -89,7 +94,7 @@ dependencies {
modExtraLocalRuntime(forge.trenzalore)
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.


modExtraLocalRuntime(forge.bundles.kjs)

Expand All @@ -110,6 +115,9 @@ dependencies {

modExtraLocalRuntime(forge.kotlinforforge)
modExtraLocalRuntime(forge.observable)
modExtraLocalRuntime(forge.ponder)
modExtraLocalRuntime(variantOf(forge.create) { classifier("slim") })
modExtraLocalRuntime(forge.flywheel.forge)
//////////////////////////

testImplementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
Expand Down
7 changes: 7 additions & 0 deletions gradle/forge.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ ftbteams = "2001.3.0"
ftbquests = "2001.4.11"
ftbchunks = "2001.3.4"
ccTweaked = "1.114.3"
create = "6.0.6-150"
ponder = "1.0.80"
flywheel = "1.0.4"

## modrinth maven ##
jade = "11.6.3"
Expand Down Expand Up @@ -65,6 +68,10 @@ rei-forge = { module = "me.shedaniel:RoughlyEnoughItems-forge", versio
emi = { module = "dev.emi:emi-forge", version.ref = "emi" }

ae2 = { module = "appeng:appliedenergistics2-forge", version.ref = "ae2" }
create = { module = "com.simibubi.create:create-1.20.1", version.ref = "create"}
ponder = { module = "net.createmod.ponder:Ponder-Forge-1.20.1", version.ref = "ponder"}
flywheel-forge-api = { module = "dev.engine-room.flywheel:flywheel-forge-api-1.20.1", version.ref = "flywheel"}
flywheel-forge = { module = "dev.engine-room.flywheel:flywheel-forge-1.20.1", version.ref = "flywheel"}
kubejs = { module = "dev.latvian.mods:kubejs-forge", version.ref = "kubejs" }
rhino = { module = "dev.latvian.mods:rhino-forge", version.ref = "rhino" }
architectury = { module = "dev.architectury:architectury-forge", version.ref = "architectury" }
Expand Down
9 changes: 9 additions & 0 deletions gradle/scripts/repositories.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ repositories {
url = "https://maven.firstdarkdev.xyz/snapshots"
}


exclusiveContent { // Create, Ponder, Flywheel
forRepository { maven { url = "https://maven.createmod.net" } }
filter {
includeGroup("net.createmod.ponder")
includeGroup("com.simibubi.create")
includeGroup("dev.engine-room.flywheel")
}
}
exclusiveContent { // Configuration
forRepository { maven { url = "https://api.repsy.io/mvn/toma/public" } }
filter { includeGroup("dev.toma.configuration")}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"variants": {
"facing=down": {
"model": "gtceu:block/machine/basic_data_access_hatch",
"x": 90
},
"facing=east": {
"model": "gtceu:block/machine/basic_data_access_hatch",
"y": 90
},
"facing=north": {
"model": "gtceu:block/machine/basic_data_access_hatch"
},
"facing=south": {
"model": "gtceu:block/machine/basic_data_access_hatch",
"y": 180
},
"facing=up": {
"gtceu:z": 180,
"model": "gtceu:block/machine/basic_data_access_hatch",
"x": 270
},
"facing=west": {
"model": "gtceu:block/machine/basic_data_access_hatch",
"y": 270
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
{
"variants": {
"facing=down,upwards_facing=east": {
"gtceu:z": 90,
"model": "gtceu:block/machine/central_monitor",
"x": 90
},
"facing=down,upwards_facing=north": {
"model": "gtceu:block/machine/central_monitor",
"x": 90
},
"facing=down,upwards_facing=south": {
"gtceu:z": 180,
"model": "gtceu:block/machine/central_monitor",
"x": 90
},
"facing=down,upwards_facing=west": {
"gtceu:z": 270,
"model": "gtceu:block/machine/central_monitor",
"x": 90
},
"facing=east,upwards_facing=east": {
"gtceu:z": 270,
"model": "gtceu:block/machine/central_monitor",
"y": 90
},
"facing=east,upwards_facing=north": {
"model": "gtceu:block/machine/central_monitor",
"y": 90
},
"facing=east,upwards_facing=south": {
"gtceu:z": 180,
"model": "gtceu:block/machine/central_monitor",
"y": 90
},
"facing=east,upwards_facing=west": {
"gtceu:z": 90,
"model": "gtceu:block/machine/central_monitor",
"y": 90
},
"facing=north,upwards_facing=east": {
"gtceu:z": 270,
"model": "gtceu:block/machine/central_monitor"
},
"facing=north,upwards_facing=north": {
"model": "gtceu:block/machine/central_monitor"
},
"facing=north,upwards_facing=south": {
"gtceu:z": 180,
"model": "gtceu:block/machine/central_monitor"
},
"facing=north,upwards_facing=west": {
"gtceu:z": 90,
"model": "gtceu:block/machine/central_monitor"
},
"facing=south,upwards_facing=east": {
"gtceu:z": 270,
"model": "gtceu:block/machine/central_monitor",
"y": 180
},
"facing=south,upwards_facing=north": {
"model": "gtceu:block/machine/central_monitor",
"y": 180
},
"facing=south,upwards_facing=south": {
"gtceu:z": 180,
"model": "gtceu:block/machine/central_monitor",
"y": 180
},
"facing=south,upwards_facing=west": {
"gtceu:z": 90,
"model": "gtceu:block/machine/central_monitor",
"y": 180
},
"facing=up,upwards_facing=east": {
"gtceu:z": 90,
"model": "gtceu:block/machine/central_monitor",
"x": 270
},
"facing=up,upwards_facing=north": {
"gtceu:z": 180,
"model": "gtceu:block/machine/central_monitor",
"x": 270
},
"facing=up,upwards_facing=south": {
"model": "gtceu:block/machine/central_monitor",
"x": 270
},
"facing=up,upwards_facing=west": {
"gtceu:z": 270,
"model": "gtceu:block/machine/central_monitor",
"x": 270
},
"facing=west,upwards_facing=east": {
"gtceu:z": 270,
"model": "gtceu:block/machine/central_monitor",
"y": 270
},
"facing=west,upwards_facing=north": {
"model": "gtceu:block/machine/central_monitor",
"y": 270
},
"facing=west,upwards_facing=south": {
"gtceu:z": 180,
"model": "gtceu:block/machine/central_monitor",
"y": 270
},
"facing=west,upwards_facing=west": {
"gtceu:z": 90,
"model": "gtceu:block/machine/central_monitor",
"y": 270
}
}
}
28 changes: 28 additions & 0 deletions src/generated/resources/assets/gtceu/blockstates/monitor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"variants": {
"facing=down": {
"model": "gtceu:block/machine/monitor",
"x": 90
},
"facing=east": {
"model": "gtceu:block/machine/monitor",
"y": 90
},
"facing=north": {
"model": "gtceu:block/machine/monitor"
},
"facing=south": {
"model": "gtceu:block/machine/monitor",
"y": 180
},
"facing=up": {
"gtceu:z": 180,
"model": "gtceu:block/machine/monitor",
"x": 270
},
"facing=west": {
"model": "gtceu:block/machine/monitor",
"y": 270
}
}
}
Loading