Age | Commit message (Collapse) | Author |
|
* underground fluid fix
* spotless
|
|
|
|
# Conflicts:
# src/main/java/gregtech/api/util/GT_Utility.java
|
|
|
|
|
|
* add recipe maps, and allow PA to handle more than 1 fluid output
* add some null checks
* add forestry combs to the recipe map
* safety null checks.
* spotless
|
|
* 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.
|
|
|
|
also unified the logic for two recipes as much as it makes sense
|
|
|
|
(#1416)
|
|
* Stop muffler when they are removed from the structure and when the controller is broken
* Refactoring of muffler toggling
|
|
Reverts changes from https://github.com/GTNewHorizons/GT5-Unofficial/pull/1150
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The map is reset when player opens cover GUI
|
|
|
|
|
|
|
|
* migrate to new survival autoplace api
* reduce type of blocks autoplace will use
this does not prevent those blocks from not being accepted into the structures though
* implement getBlocksToPlace
* fix survivalConstruct code for assline and DT
i hate variable size multi :(
* fix AIOBE
* allow disabling machine block updates on a per-thread basis
* make a sensible guess at what texture to use on server side
* spotless
* implement hologram support for bbf
* spotless
|
|
|
|
structure check (#1384)
|
|
* 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
|
|
|
|
* Transfer to NBT
* Half working, write only.
* Fix load data
* Works, thanks Kuba.
* spotlessApply (#1372)
Co-authored-by: Connor-Colenso <52056774+Connor-Colenso@users.noreply.github.com>
Co-authored-by: GitHub GTNH Actions <>
* Fix NPE in unit tests
* Spotless
* Move clear map
* Spotless and import cleanup
* Suppressions and warning corrections
* Warnings, warnings, warnings smh.
Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
Co-authored-by: kuba6000 <kuba.123123.6000@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
|
* use pre defined methods to draw tooltip in GT_GUIContainer_DigitalTank
* introduce private static final fields for string tooltip names
|
|
* Fix waila facings for basic machines
* Address review
* Show process time only when machine is active
* Show tick time for recipes with a duration less than a second
* Address review
|
|
* move digital tank button position
* spotless
* spotlessApply (#1364)
Co-authored-by: くぁーりぃ <39122497+Quarri6343@users.noreply.github.com>
Co-authored-by: GitHub GTNH Actions <>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
|
|
|
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 GT_Packet_SetLockedFluid not setting lock mode
also fixed drag and drop from NEI handler got called when drag and drop from main inventory
* fix lockFluid overwriting mMode == 8
* add markDirty() call
|
|
* fix(API): GT_Fluid
- Fix: Use registeredFluid instead of GT_Fluid to configure Materials and containers to prevent crashes when retrieving fluids referrences from those.
- Impr: Adjust fluid luminosity computation to better fit with Tungsten as maximum
- Impr: Remove transparency from the fluid.molten.autogenerated.png texture to prevent molten materials to appear dilluted.
* ./gradlew :spotlessApply
* rev(comment): address review comment from @Glease
rev: https://github.com/GTNewHorizons/GT5-Unofficial/pull/1349#pullrequestreview-1098651647
fix: Logic to handle working with own registered fluids and
already registered fluids.
imp: Some IGT_Fluid methods requires the fluid to be registered,
throws an IllegalStateException on use at an unregistered fluid.
imp: Normalizes @inheritDoc no additionnal text allowed
|
|
* 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
|
|
|
|
|
|
* merge in ASM-ed in changes from gt++
* Spotless apply for branch gtpp-asm-merge for #1339 (#1340)
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 rare occasion of zero sized empty cell in electrolyzer output
* Spotless apply for branch fix/zero-size-empty-cell for #1335 (#1336)
Co-authored-by: Glease <4586901+Glease@users.noreply.github.com>
Co-authored-by: GitHub GTNH Actions <>
* fix wrong comparator
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|