Commit Graph
184 Commits
Author SHA1 Message Date
Dream Master 09619b0a28 Merge branch 'master' into dev
# Conflicts:
#	dependencies.gradle
1.4.19-pre
2025-08-04 10:30:11 +07:00
Dream Master 6283931667 update 1.4.18 2025-08-04 10:28:35 +07:00
Abdiel Kavash 3b3bc4b9ad Add preset IAlignmentLimits constants. (#43)
Many multiblocks can only be placed or rotated in certain orientations.
This has been always done ad-hoc, with individual checks for each
controller. This is inconsistent and sometimes it results in bugs where
certain orientations are not allowed for no discernible reason; for
example
https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/14206.

This PR introduces a short list of named constants to
`IAlignmentLimits`, which describe common multiplboc orientations. These
are currently:

* `UNLIMITED`: Any orientation is allowed. Most multiblocks.
* `UPRIGHT`: The multiblock must be in an upright position, with the top
side facing up. Example: Distillation Tower, Ore Washing Plant.
* `NOT_UPSIDE_DOWN`: The multiblock can be in any orientation, except
for the top side facing directly downwards. This is currently only the
Large Heat Exchanger and Integrated Ore Factory.
* `FACING_UP`: The front of the controller must face up. Example:
Flotation Cell, XL Turbines.

Currently, these constants describe the allowed facings of *all* GT5U
multiblocks.

A multiblock can then simply return one of these constants from
`getInitialAlignmentLimits()` to describe its valid orientations,
instead of implementing the logic itself. This concentrates the code to
one place, improves readability, and fixes any bugs connected with these
checks being done wrong.

Of course, even though the list is currently complete, if any future
multiblock wants to implement its own strange restrictions on
orientation, it can still implement its own check instead of returning
one of the constants.

A follow-up PR to GT5U implements this for all multiblocks which
restrict valid orientations:
https://github.com/GTNewHorizons/GT5-Unofficial/pull/4595
2025-08-01 10:54:59 +07:00
Dream Master 6de4676338 Merge remote-tracking branch 'AbdielKavash/AlignmentLimits' into dev 1.4.17-pre 2025-07-16 10:58:20 +07:00
Dream Master 15f5b362b0 Merge remote-tracking branch 'ReignOfFROZE/master' into dev
# Conflicts:
#	dependencies.gradle
1.4.16-pre
2025-07-16 09:51:31 +07:00
Caedis b771a32c0b Merge branch 'master' into master 2025-07-15 12:02:47 -05:00
Caedis dfd15d8a63 remove mavenLocal 2025-07-15 12:02:05 -05:00
Caedis 73a4fda220 fix syncedkeybind update 2025-07-15 12:01:07 -05:00
Dream Master 8d5c3b77a6 update 2025-07-15 22:22:59 +07:00
Dream Master 1b60db4c69 Merge branch 'master' into dev 2025-07-15 22:22:17 +07:00
Abdiel Kavash 6d9047210f Merge branch 'master' into AlignmentLimits 2025-07-14 17:22:39 -06:00
Alexdoru bef4fdd949 Delete overkill mixin registration system (#44) 1.4.15 2025-07-14 04:31:17 +08:00
Abdiel Kavash a17951c7d7 IAlignmentLimits presets 2025-07-12 09:32:54 -06:00
Abdiel Kavash e3d159d0d7 uBS + uD 2025-07-12 09:32:33 -06:00
Martin Robertz e7086a3472 Merge branch 'master' into master 2025-06-22 12:45:01 +02:00
Martin Robertz a79074e250 Merge remote-tracking branch 'ReignOfFROZE/master' into dev 1.4.14-pre 2025-06-19 21:33:47 +02:00
ReignOfFROZE 77f94fa595 Remove SU loaded check 2025-06-19 15:10:54 -04:00
Martin Robertz 8ab8532915 Merge remote-tracking branch 'ReignOfFROZE/master' into dev 1.4.13-pre 2025-06-19 21:10:42 +02:00
Martin Robertz 67242aa138 Merge branch 'master' into dev 2025-06-19 21:10:38 +02:00
Martin Robertz 4a06c8f95b update 1.4.12 2025-06-19 21:09:58 +02:00
ReignOfFROZE 963975864c Comments 2 2025-06-19 14:53:43 -04:00
koolkrafter5 241bed1989 Update dev username (#41) 2025-06-16 10:53:32 +08:00
ReignOfFROZE 658c4231c4 Comments 2025-06-03 15:36:13 -04:00
Martin Robertz 8b9b4fe25a more h4 1.4.11-pre 2025-04-30 18:04:34 +02:00
Martin Robertz ffd5570bcf update and fix 2025-04-30 17:48:52 +02:00
Martin Robertz 2c50a0ff16 Merge branch 'master' into master 2025-04-30 16:16:16 +02:00
Martin Robertz 54abc5edc1 sa+update deps 2025-04-30 16:15:39 +02:00
Martin Robertz f5594c25db update 1.4.10 2025-04-30 16:05:28 +02:00
Martin Robertz 997da93033 Merge branch 'master' into master 2025-04-30 16:00:31 +02: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 <[email protected]>
2025-04-30 15:55:19 +02:00
ReignOfFROZE bbcf3a8669 Moved keybind to CommonProxy 2025-04-20 11:52:25 -04:00
ReignOfFROZE f1473bbb3a Bapy-ized textures 2025-04-20 11:49:45 -04:00
ReignOfFROZE 086b0a00ff Spotless 2025-04-20 11:48:23 -04:00
ReignOfFROZE 6a4886796a Switched to using SyncedKeybind instead of vanilla keybind implementation 2025-04-20 11:46:35 -04:00
ReignOfFROZE e6c82d422d Revert file mode changes 2025-04-20 11:24:25 -04:00
ReignOfFROZE b4b6f4e5eb Spotless apply 2025-04-11 18:45:17 -04:00
reign dfe910ebd3 Fix a few bugs, add removal checking 2025-04-11 18:39:15 -04:00
reign 5b0b9ba3c5 Streamline codepaths and add SU compat for permission checking 2025-04-09 21:35:01 -04:00
reign bd76be4f6f Comment out GT5U Dependency 2025-04-08 10:58:39 -04:00
reign d3e258dd30 Remove logs and found workaround for updating mode bug 2025-04-08 10:56:50 -04:00
reign 0999964f1a Add removing and updating modes to ItemConstructableTrigger 2025-04-07 21:03:28 -04:00
538459eab5 channel configure ui tweaks (#35)
Signed-off-by: Glease <[email protected]>
Co-authored-by: Martin Robertz <[email protected]>
Co-authored-by: Maya <[email protected]>
1.4.6
2025-03-11 09:41:57 -05:00
Maya 3a9ec8b6ac update 1.4.4 2025-03-10 16:27:58 -05:00
Glease 330a13271b fix unbreakable warded glass (#37)
fix
https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/18849

@Ruling-0 since your glass refactor is slightly related to this

---------

Signed-off-by: Glease <[email protected]>
2025-03-10 16:26:36 -05:00
glowredmanandGlease bf5dd5566b Add Localization (#36)
This adds some missing localizations for unlocalized names returned by
the ItemStack-insensitive version of `Item.getUnlocalizedName()`.
Relevant for the Item/Block stats introduced in
https://github.com/GTNewHorizons/Hodgepodge/pull/398.

---------

Co-authored-by: Glease <[email protected]>
1.4.2
2025-01-02 11:40:59 +08:00
Martin Robertz b9d0143245 update 1.4.0 2024-12-14 20:12:25 +01:00
43fc39c99b Add error hint when block is invalid (#31)
Co-authored-by: kstvr32 <[email protected]>
Co-authored-by: Martin Robertz <[email protected]>
2024-12-14 19:13:34 +01:00
Lyft 6337536dc3 Send correct identifier when instrumenting (#34) 1.3.6 2024-11-19 10:20:47 +08:00
Lyft 9b96560119 Fix IStructureElementChain returning an invalid Iterable (#33) 1.3.5 2024-11-09 15:46:49 +01:00
Dream Master 3ce1c877e3 update 1.3.4 2024-08-07 15:42:01 +07:00