aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/metatileentity
AgeCommit message (Collapse)Author
2021-07-15Merge pull request #597 from TimeConqueror/experimentalMartin Robertz
Improvements to Vanilla Replacement & GT_Utility#copy
2021-07-15Removed useless array creation in most #copy methods by changing them to ↵TimeConqueror
#copyOrNull variant with single parameter.
2021-07-10Extended GUI fluid manipulation support to GT_MetaTileEntity_BasicTankGlease
2021-07-08Merge pull request #585 from GTNewHorizons/cover-optimizationMartin Robertz
2021-07-03Merge pull request #586 from GTNewHorizons/beter-power-netboubou19
Beter power net
2021-07-03fix not reconetcingkorneel vandamme
2021-07-03Remove unnecessary redstone state query for coversGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-07-02Merge pull request #572 from GTNewHorizons/beter-power-netMartin Robertz
Better power net
2021-07-03fix typos in enet implementationGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-07-02remove debug codekorneel vandamme
2021-06-21fix NPE/infinit loop and small refractoringkorneel vandamme
2021-06-20Update GT_MetaTileEntity_Hatch_OutputBus.javaGlodBlock
2021-06-20stop the output bus generating ghost itemGlodBlock
2021-06-16add graph network to pipes and implement it for powerkorneel vandamme
2021-05-25Add input bus initial filter preferenceGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-05-25Allow client send preference to serverGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-05-24feat(glow): iconset machines glow supportLéa Gris
- Add glow support for all sides and states of iconset machines (same as with basicmachines). Automated code cleanup with IDEA of: - Optiimise all imports (remove unused, sort) - Reorder all modifiers to the canonical preferred order (as stated in the Java Language Specification) - Add all missing @Override annotations
2021-05-21feat(render): implementation-free api texture factoryLéa Gris
Provides an implementation-free API Texture factory an builder. Deprecates gregtech.api.objects.GT_*Texture.java classes Once all GregTech add-on will be migrated to the new implemnetation-free API, changes to the implementation will not affect the add-on. For now, this API allow rendering of in-world glow textures. In-inventory/hand rendering of glow texture require implementation changes that are postponed until no add-on uses the deprecated embedded implementation API.
2021-05-21fix(render): move new textures rendering to new packageLéa Gris
Old textures rendering are kept in api/objects for backward compatibility. The old textures rendering does not handle glow textures or independant inventory tessellation. The old textures will only work with the old GT_Renderer_Block class New textures rendering with own tessellation in inventory and handling of glow emisssive textures are moved to the api/render package. These must not be used with the Old GT_Renderer_Block class or it will crash with: Already Tessellating Exception from the Tessellator class
2021-05-21feat(render): support all basic machines glowLéa Gris
Support glow textures on all sides and states of basic machines. When a glow is irrelevant, a blank placeholder still maintain support for customization from resource packs.
2021-05-21feat(render): buffers glowLéa Gris
Add code support and blank glow placeholders so resource pack can provide own glow. Applies to: - Chest Buffer - Item Filter - Distributor - Regulator - SuperBuffer - Type Filter
2021-05-21feat(render): auto maintenance hatch glowLéa Gris
2021-05-21Increase the EU cap a bit moreGlease
2021-05-21Actually increase the EU storage capGlease
2021-05-17Increase transformer eu storage capGlease
2021-05-15Allow client to proactively request fluid display updatesGlease
Currently client will only request update on blocks being looked at. Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-05-13Merge pull request #493 from johnch18/bufferFix2Martin Robertz
Made higher tier buffers attempt to move multiple stacks/tick
2021-05-13Merge pull request #515 from GTNewHorizons/files_formatMartin Robertz
Normalize all repository files format
2021-05-12Removed redundant loop.charles
2021-05-06Actually make the buffer sort config workGlease
2021-05-04Scanner info for the output hatchrepo_alt
2021-04-27fix(textfiles): add missing neline at end of filesLéa Gris
git and diff tools will complain if text file does not end with a newline. Fixed all text files in the repository with Linux bash shell: ```sh git ls-files -z | while IFS= read -rd '' f; do mime="$(file --brief --mime "$f")"; if [ -z "${mime##text/*}" ]; then tail -c1 "$f" | read -r _ || printf '\n' >>"$f"; fi; done ```
2021-04-26fix(multiblockbase): until the muffler has a valid tileLéa Gris
address issue [NPE in GT_MetaTileEntity_MultiBlockBase.java:314 until the muffler has a valid tile #7454](https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/7454)
2021-04-26fix(hidecover) unchained posttick caused missed texture and size changeLéa Gris
Add missing chaining of the `onPostTick` event handler to parent class. `GT_MetaPipeEntity_(Cable|Pipe|Fluid)` classes were not forwarding the `onPostTick` event handler to their parent `MetaPipeEntity` class, so pipes were not rendering the change unless another machine tile which did properly chain the event handler to its parent (like `GT_MetaTileEntity_TieredMachineBlock`) was present in same chunk.
2021-04-12Fixed algorithm, updated flavor text.charles
2021-04-10Merge pull request #499 from GTNewHorizons/revertMartin Robertz
Revert "Fix return value for addOutput(fluid)"
2021-04-10Revert "Fix return value for addOutput(fluid)"Johann Bernhardt
This reverts commit 95fb72834838aa365afd4c418b7b70c66644ffc2.
2021-04-10Optimize addOutputGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-04-04fix(rendering): multiple rendering fixes and refactor (#494)Léa Gris
* fix(rendering): multiple rendering fixes and refactor - Fix rendering gregtech machines in inventory with correct orientation and lighting. - Fix rendering of pipes connected through covers, no longer z-fight at a distance. - Fix updating of textures when un/holding a soldering-iron. - Refactor of the GT_Renderer_Block class with properly named constants replacing raw literals.
2021-04-03Merge branch 'bufferFix' of https://github.com/johnch18/GT5-Unofficial into ↵charles
bufferFix2 Fixed merge that I thought I already had fixed
2021-04-03Made it so that higher tier buffers try to move multiple stacks/tickcharles
2021-04-03Merge pull request #486 from johnch18/mccoverfixMartin Robertz
Made machine control covers disable themselves upon power loss
2021-04-03Partial commit, needed sleepcharles
2021-04-02Fixed improper loading of bSortStacks from NBT, *should* fix backwards ↵charles
compat issue.
2021-04-02Cleaned up some code and fixed translation issue.charles
2021-04-02Removed unecessary else branch.charles
2021-04-02Added Soldering Iron toggle behavior for sorting using shift+right-click.charles
Sorting defaults to disabled in order to not break existing builds.
2021-04-02Fixed stupid error I madecharles
Set groundwork for configuring with soldering iron.
2021-04-02Added sorting of buffer inventories using code from the input bus class.charles
2021-04-01Prevent multiple stack in input slots even if input filter is disabled (#489)Glease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>