Age | Commit message (Collapse) | Author |
|
* Refactors
* Refactor CoverableTileEntity a bit more, pull out a CommonMetaTileEntity
* Add an IDebugableTileEntity interface instead of checking various subclasses
* Move more redstone related things to CoverableTileEntity
* Add IGTENet
* Final and dead code removal
* Address a few comments, fix a few comments, remove some more dead code, and add some more finals.
* fix bad rebase
|
|
* Fix secondary description not written to language file
* Extract ISecondaryDescribable interface
* Recover isDisplaySecondaryDescription in MetaTileEntity
|
|
* Base work adding 4 new tiers of coils.
* Remove OPV tier.
Remove nonsensical coil tier tags. (Awak = UIV, really? No thanks)
Add proper texture for Hypogen, Infinity and Eternal coils.
* Revert avaratia dep via import by Alk. If someone can implement cosmic rendering here then great but that is well beyond me.
Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
|
|
|
|
Normalise indent chars, layout,
Remove redundant casts, use diamond operators.
Optimize and sort imports
Sort member variables by attributes
Remove redundant switch case
static final text constants
simplify conditions
replace repeated inline code with iteration
add missing @SideOnly(Side.CLIENT) prevents accidental server crashes
|
|
* Fix ore particles
* simplify getIcon methods
* Fix spacing, fix accidental renaming of args
|
|
* initial work on facade covers
* fix colorMultiplier
also removed derp
* Clean up drop cover texture reset code
What was I thinking actually? Send a packet to reset client states?
* Fix cover display stack
|
|
* add recipe filter block
* Add tooltip to recipe filter GUI & improve type filter UI interaction
now you can click special slot in type filter UI to directly set the oreprefix based on the stack held on the cursor
|
|
|
|
|
|
|
|
it is unreasonable to make player starve to die in dozens of seconds with full hunger bar
fix https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/9156
|
|
* make the debuff time depend on contents
* fix npe in fluid
|
|
|
|
|
|
|
|
|
|
Research Completer - Added machine casing and assets
|
|
|
|
|
|
|
|
Rhodium Plated Palladium Machine Casing
Iridium Mahine Casing
|
|
|
|
|
|
|
|
|
|
|
|
1. stupid typo in EBF preventing it from working at all.
2. All multis now require exactly one maintenance hatch to form.
3. All multis now use the unified overclocking mechanism if possible.
4. All multis that emits pollution now require at least one muffler hatch to form.
5. Coil structure element slightly tweaked.
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
|
|
|
|
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
```
|
|
Stone background on the bottom side of ores, did not use the same flipped
orientation as with dumb blocks of the same material, which uses the vanilla
block renderer from Minecraft.
This patch fixes the rendering of the bottom side of Gregtecg ores which uses
te following Gregtech stone backgrounds:
- Black Granite
- Red Granite
- Marble
- Basalt
|
|
|
|
|
|
World events have way to many parameters, so the code gets unreadable, this commit fixes that behavior.
|
|
- Implement the missing ambient occlusion shadow from machine block over neighbour blocks.
- Fix the LightingHelper to properly shade pipes/cables/wires against an opaque block.
- Refactor and cleanup the GT_Block_Machines class of all bad practices and code smell,
checked and validated with Sonarlint.
|
|
Render smooth lighting ambient occlusion on all Gregtech tiles:
- Ores
- Machines
- Pipes, Cables, Wires, Frames
Add new Client-side configuration entry in Gregtech.cfg.
If false, the flat lighting rendering of older versions is used.
```yml
render {
B:TileAmbientOcclusion_true=true
}
```
|
|
|
|
|
|
|
|
|
|
- Fix bottom side texture orientation to not flip texture. Special
thanks to @GregoriusT who raised awareness of potential issue with
texture where direction matters (like button panels or texts).
- Implement a flipped bottom texture rendering to have ore blocks
use the very same orientation as dumb blocks ore textures from other mods.
- Refactor GT_SidedTexture to use GT_RenderedTexture for rendering,
rather than duplicate the rendering code of it.
|
|
|
|
|
|
|