Commit Graph
22 Commits
Author SHA1 Message Date
ABKQPO 1632ad762a Name the fluid extractors after the item ones 2026-09-11 09:40:20 +08:00
ABKQPO 98101c00aa Add fluid block autoplace with a pluggable fluid cost and source API
Water, lava and every Forge fluid block can now be placed by survival autoplace, paid for with fluid instead of with an item.

* Fluid costs are registered per block state, water and lava are registered by default, and a registration can ask for fluid even when the block also has an item form.
* A fluid is only placed once the rest of the structure is in place, so it cannot flow out of a half built multiblock, and only the fluid missing from a position is charged, so topping up a leak costs the difference instead of a whole bucket.
* The fluid comes from the player: their fluid containers, plus whatever mods contribute through the new fluid container extractor and fluid source provider registries.
* Existing structure definitions need no change, as ofBlock and the other block elements become fluid elements when the block has no item form.
2026-09-10 18:35:16 +08:00
Glease 7cda901ae5 add channel desc and channel indicator item (#39)
Add channel desc and channel indicator item. Its meaning and development
examples has been added to overview page in javadoc.
Also removes gt_no_hatch and show_error special button from GUI as they
are now a candidate in the dropdown menu.

one day we will move this to MUI2, but for now let's stick to existing
infra that is known to work



https://github.com/user-attachments/assets/814edbb6-c4b4-4309-8798-787d9ed1aeef

Note: channels in demo video are from GT5. if you boot the pack without
the modified gt5 you won't see most of the channels.

---------

Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2025-04-30 15:55:19 +02:00
43fc39c99b Add error hint when block is invalid (#31)
Co-authored-by: kstvr32 <kstvr32@gmail.com>
Co-authored-by: Martin Robertz <dream-master@gmx.net>
2024-12-14 19:13:34 +01:00
Lyft 9b96560119 Fix IStructureElementChain returning an invalid Iterable (#33) 2024-11-09 15:46:49 +01:00
GleaseandDream Master 3d150d95cb customizable registries (#25)
* add a bit javadoc

Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>

* customizable registries

Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>

* add gui for customizing registries

* add a bit javadoc

Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>

* spotless

Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>

* remove debug statements

Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>

* add notes on localization

Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>

* update

* fix

* fix

---------

Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
Co-authored-by: Dream Master <dream-master@gmx.net>
2024-08-07 15:37:30 +07:00
Raven Szewczyk 464e44de85 [ci skip] spotlessApply with the new settings 2023-01-30 12:52:27 +00:00
Glease df4c54ea8d address inspections 2022-09-06 16:34:46 +08:00
Glease 7389f349db add compat to hodgepodge
turns out we just cannot call render block here since our blocks are not 1x1x1 and I definitely don't want to do one draw call for every hint particle
2022-08-25 16:09:16 +08:00
Glease ebcf62fd97 allow some particle to render through walls 2022-08-24 12:23:56 +08:00
Glease 91d4a8022e turn on debug in dev env by default 2022-08-23 18:57:17 +08:00
Glease b34e901a93 channels 2022-08-23 16:55:17 +08:00
Glease 609e50428e Implement autoplace (#6) 2022-08-08 17:40:12 +08:00
Glease 8de7026a00 reformat project according to .editorconfig
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2022-07-08 17:14:18 +08:00
Johann Bernhardt b9af0ef491 Migrated to unified build script (#1) 2021-11-24 19:02:27 +08:00
Glease 68c5436496 Add option to related to hologram projection
Also made clear what's public api and what's not.
2021-07-21 17:26:28 +08:00
Glease fbf8cfd82c Add constructable trigger item and a few utilities 2021-06-22 23:58:19 +08:00
Glease 8965bf854a Add front rotation tool 2021-05-29 22:33:15 +08:00
Glease 8975c149c0 Fix network code. Encapsulated API. 2021-05-29 19:05:50 +08:00
Glease c597fda09d Add our own creative tab 2021-05-27 13:32:38 +08:00
Glease bee6ce337b add hint block 2021-05-17 07:44:45 +08:00
Glease dc12c4a1df Add most of code. Still missing some hint related stuff.
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-05-17 03:02:24 +08:00