Age | Commit message (Collapse) | Author |
|
# Conflicts:
# src/main/java/gregtech/api/util/GT_Utility.java
|
|
* refactor(fluid_api): fluent interface
Improves the initial construction model into a fluent interface.
See: https://java-design-patterns.com/patterns/fluentinterface/
This change provides the built and saved states of a GT_Fluid,
with their own interface, so that: object state validations are
performed at build time, rather than causing an `IllegalStateException`
to be thrown at runtime, with the previous implementation.
This also allows the IDE to display and check the applicable methods
for the GT_Fluid object's state, as it moves through the call chain.
* hotfix off-by-one in FluidState.fromValue
* minor: deduplicate buildAndRegister action
* fix(withIconsFrom): needs dependency management
Cracked fluid Icons were copied too early from non-cracked fluid
within the `IGT_FluidBuilder`'s implementation.
At this stage, the source Fluid has not registered its own icons yet,
so the Cracked fluid got null Icons (fallback to Error checkerboard).
This commit delegates the copy of the source fluid's Icons, to the
`run` Icons texture's registration task; ensuring the source Fluid
runs its own Icons textures registration before copying them,
as a light-weight dependency management.
|
|
Reverts changes from https://github.com/GTNewHorizons/GT5-Unofficial/pull/1150
|
|
|
|
|
|
|
|
|
|
|
|
* Added advanced debug structure writer
* Applied spotless
* Removed testing variables
* Added client only to rendering
* Added one client side annotation too much
* Included requested changes
* Applied spotless
* Introduced variables for tooltip keys
|
|
|
|
* revert to spritesheet for block textures for gaia spirit
also removed now-unused transcendent metal block textures
* Spotless apply for branch fix/animated-material-texture-fix for #1351 (#1352)
Co-authored-by: Glease <4586901+Glease@users.noreply.github.com>
Co-authored-by: GitHub GTNH Actions <>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
|
* fix sprite abuse
* Spotless apply for branch fix/sprite-abuse for #1347 (#1348)
Co-authored-by: Glease <4586901+Glease@users.noreply.github.com>
* convert gaia spirit
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
|
* feat(API): Implements a featured API for GT_Fluid
*** Rationale
The current implementation, which is based on the `GT_Fluid` object,
does not allow for the evolution of the functionalities, or the
variation of the fluid-related implementations in GregTech.
*** Objectives
This replacement API should free from these constraints, by providing :
1. The separation of responsibilities of the different tasks and steps:
- The definition and progressive construction of an `IGT_Fluid`,
- Registration of the `IGT_Fluid`,
- Configuration of related equipment, such as containers,
- Propagation of properties of an `IGT_Fluid` to related services
such as Materials
2. The separation of interfaces exposed to the API from their internal
implementations to allow:
- Evolve the implementations in the most transparent way possible
- To have internal GregTech implementations or outsourced
implementations coexist in its extensions.
*** Specificity of this new API
- Provides a new interface to build and interact with fluid related records
- Deprecates the old `api/objects/GT_Fluid` object and the
`common/GT_Proxy.addFluid` record methods
* fix(conversations): addresses @Glease review comments
https://github.com/GTNewHorizons/GT5-Unofficial/pull/1345#pullrequestreview-1096261703
* ./gradlew :spotlessApply
* fix(review): add review comments from @eigenraven
Added missing final qualifiers on methods parameters.
https://github.com/GTNewHorizons/GT5-Unofficial/pull/1345#pullrequestreview-1096318523
* fix(review) address remaining review comments from @eigenraven
|
|
|
|
|
|
|
|
|
|
* Add a new way get Sodium Potassium
Add Fluid Sodium to gt
* spotless
remove old NAk and Helium cell recipes
* derp
* add liquid sodium texture
(cherry picked from commit bd050330f91e0306e156f6a130783e867661338a)
* add liquid sodium cells
(cherry picked from commit 45f988cf3bbca43abf3f07a0a8e7ba891b8727a3)
* move recipe to core mod
(cherry picked from commit 7db15cd792136abac6fb88c9a7fa9d05f1f0619e)
* add a heater recipe without a input fluid
* Revert "move recipe to core mod"
This reverts commit 9d5ff875a00e59c6edb52336b7d9c20889d9bd9b.
* use fluid heater recipe without input fluid
* Spotless apply for branch Sodium-Potassium for #1322 (#1328)
* Two slots wiremill (#1324)
* add a circuit slot to wiremil
* add circuits to wire recipes
* add 2 input slots to Wiremil
* exchange circuit and material slot
* add 2x-16x wires to wiremil
* add missing 12x wires
* add slot migration code (#1326)
* spotlessApply (#1327)
Co-authored-by: Martin Robertz <dream-master@gmx.net>
Co-authored-by: GitHub GTNH Actions <>
Co-authored-by: Glease <4586901+Glease@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* spotlessApply
Co-authored-by: Martin Robertz <dream-master@gmx.net>
Co-authored-by: Glease <4586901+Glease@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub GTNH Actions <>
* Revert "Spotless apply for branch Sodium-Potassium for #1322 (#1328)"
This reverts commit 5bf31ffddfeddd1c4d161d434abb8402939ec9d6.
* spotless
* make fluid heater working with <1 fluid
(cherry picked from commit 8045cf6f03d0ce030b8e7b2fa6c70dca6d9ccc5d)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Glease <4586901+Glease@users.noreply.github.com>
|
|
* Fix broken rebase
* Undo Materials formatting, it generates too many lines
* Dummy commit
* Missed a structurelib update
|
|
* Update dependencies
* Update buildscript, apply spotless
|
|
|
|
|
|
|
|
* a proper fix for anyrubber product outputting silicon rubber on macerate
* remove debug prints
|
|
* add all bw glass and warded glass
* update tooltips
* color unification with circuit tooltips
|
|
|
|
* reworking drilling plant following 0lafe ticket
* thanks, fixed
* here the mighty method
|
|
* Add heating coil NEI display
* correct condition
|
|
* changed diatomite chemical formula
* added the small 8 as requested in the ticket
|
|
|
|
types (#1271)
* ME input bus, gives the multiblock direct access to the 16 selected item types
* Reworked GUI to match the normal interface
* Don't need to duplicate shadow slots
Sync can (better) be done in `endRecipeProcessing`, in case some multi doesn't call `updateSlots` or does it at the wrong time
* Clarify name, to distinguish from the (future) Buffering and Crafting buses
* Make the GUI 4x4 again
* Make the 4x4 GUI actually work
* Make ghost item show item amount
* Remove unimplemented code remnants
Co-authored-by: Sampsa <sampo.vanninen@aalto.fi>
|
|
* Meta Generated Items renderer overhaul
* Adjust naming
* Force alpha test
* Properly render overlay
|
|
* no more magical texture index
* add a reverse map for fxxk sake
|
|
* Implemented gui textcolor override with .mcmeta files
* cleanup
* Added shared class to reduce code duplication
* Moved #drawLine back to GT_NEI_DefaultHandler
|
|
* Add FluidLimiter Cover
* Update ItemList.java and register
* Add texture
* Refactor method
|
|
|
|
|
|
* switch to gson
* json loader code cleanup
|
|
* Added means of customizing GUI colors through lang file
* Color values are now stored in json file instead of the lang file
* Made json only load upon resource reload and ensured server compatibility
Co-authored-by: Martin Robertz <dream-master@gmx.net>
|
|
|
|
It honestly never occurred to me that SOMEONE would not derive from GT_MetaTileEntity_EnhancedMultiblockBase
|
|
|
|
* fix(warnings): remove broad wanings suppression
This shell script was applied to remove all instances of
`@SuppressWarnings("ALL")`:
```sh
grep -lr '@SuppressWarnings([[:space:]]*"ALL"[[:space:]]*)' src/ |
xargs -l1 \
sed -n -i.bak '/@SuppressWarnings([[:space:]]*"ALL"[[:space:]]*)/!p'
```
* nuke @SuppressWarnings("all") in GT_NEI_DefaultHandler
Case insensitive:
```sh
grep -lr '@SuppressWarnings([[:space:]]*"[Aa][Ll][Ll]"[[:space:]]*)' src/ |
xargs -l1 \
sed -n -i.bak '/@SuppressWarnings([[:space:]]*"[Aa][Ll][Ll]"[[:space:]]*)/!p'
find src -type f -name '*.bak' -delete
```
* fix(warnings): GT_NEI_DefaultHandler
* fix(warnings): GT_Mod
* fix(warnings): GT_Values
* fix(warnings): Materials
* fix(warnings): GT_BeeDefinition
* fix(warnings): GT_PostLoad
* fix(warnings): GT_Worldgenloader
* fix(warnings): GT_PreLoad
|
|
|
|
* Add wiremill recipe for SC UEV Base
* Adding UIV and UMV SC (#1213)
* fixing sphalerite electrolyze recipe
* beginning of UIV/UMV SC
* real sc mat
* real umv sc craft
* fixes sc umv heat temp
* Fix ID conflict
* Move wiremill recipe
Co-authored-by: RIONDY 'POPlol333' Adam <76914762+POPlol333@users.noreply.github.com>
|
|
* fixing sphalerite electrolyze recipe
* beginning of UIV/UMV SC
* real sc mat
* real umv sc craft
* fixes sc umv heat temp
|
|
|
|
* Fix possible out-of-bounds error.
* Bye bye OpV
* Bye bye OpV
* Some textures while I'm here
* Test
* Maybe
Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
|
|
Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
|
|
|