aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/metatileentity
AgeCommit message (Collapse)Author
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>
2021-03-31Fix return value for addOutput(fluid)Johann Bernhardt
2021-03-30Updated to use proper naming conventions.charles
2021-03-30Merge https://github.com/GTNewHorizons/GT5-Unofficial into mccoverfixcharles
Fixing my sh*t because apparently I can't use git
2021-03-30Made it so that machine control covers disable themselves when thecharles
machine runs out of energy
2021-03-30Eagerly update the fluid display item upon inventory openGlease
There might be small desync for the first person to open this GUI Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-03-30Only update fluid display items when necessaryGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-03-25fix(tooltip): frameGT descriptionLéa Gris
Address issue: https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/7702 Remove mention of using CFoam over covers which has been replaced by chemical bath concrete based recipes since GT5.09. New Frame Box dexcription is localisable in `Gregtech.lang`: ```yaml S:gt.blockmachines.gt_frame.desc.format=Just something you can put covers on. ```
2021-03-24feat(cover): hide covers when holding a soldering-ironLéa Gris
2021-03-23integer overflow in comparisonrepo_alt
https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/5817
2021-03-20Merge pull request #468 from GTNewHorizons/separate-fluid-tank-infoMartin Robertz
Expose all fluid tanks properly when there are more than one internal tank
2021-03-20quickfix: remove useless Block argumentLéa Gris
Pipes don't use a block texture, only ore blocks use these and they don't implement IPipeRenderedTileEntity and are not covered either ^^
2021-03-20feat(cover): handles transparent coversLéa Gris
Add support for transparent covers (glass plate) on all GT Machines: - See pipes, wires, cables through transparent covers - Layer transparent covers over full-block pipes and machines
2021-03-20Expose all fluid tanks properly when there are more than one internal tankGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-03-12Merge pull request #462 from GTNewHorizons/WorldEventWrapperbasdxz
Refactor World Events