Age | Commit message (Collapse) | Author |
|
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
|
|
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
|
|
- 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
|
|
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.
|
|
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
|
|
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.
|
|
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
|
|
|
|
|
|
|
|
|
|
Currently client will only request update on blocks being looked at.
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
|
|
Made higher tier buffers attempt to move multiple stacks/tick
|
|
Normalize all repository files format
|
|
|
|
|
|
|
|
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
```
|
|
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)
|
|
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.
|
|
|
|
Revert "Fix return value for addOutput(fluid)"
|
|
This reverts commit 95fb72834838aa365afd4c418b7b70c66644ffc2.
|
|
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
|
|
* 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.
|
|
bufferFix2
Fixed merge that I thought I already had fixed
|
|
|
|
Made machine control covers disable themselves upon power loss
|
|
|
|
compat issue.
|
|
|
|
|
|
Sorting defaults to disabled in order to not break existing builds.
|
|
Set groundwork for configuring with soldering iron.
|
|
|
|
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
|
|
|
|
|
|
Fixing my sh*t because apparently I can't use git
|
|
machine runs out of energy
|
|
There might be small desync for the first person to open this GUI
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
|
|
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
|
|
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.
```
|
|
|
|
https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/5817
|
|
Expose all fluid tanks properly when there are more than one internal tank
|
|
Pipes don't use a block texture, only ore blocks use these and they
don't implement IPipeRenderedTileEntity and are not covered either ^^
|
|
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
|
|
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
|
|
Refactor World Events
|