aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/blocks
AgeCommit message (Collapse)Author
2022-04-18Multitileentity precursor (#963)Jason Mitchell
* 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
2022-03-26Fix secondary description not written to language file (#987)MuXiu1997
* Fix secondary description not written to language file * Extract ISecondaryDescribable interface * Recover isDisplaySecondaryDescription in MetaTileEntity
2022-02-23Base work adding 3 new tiers of coils. (#885)Alkalus
* 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>
2022-02-20key (#942)iouter
2022-02-12cleanup(ore particles): static analysis auto code cleanup and format (#935)Léa Gris
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
2022-02-10Fix Ore Particles (#926)glowredman
* Fix ore particles * simplify getIcon methods * Fix spacing, fix accidental renaming of args
2022-01-23AE2 Cable facade as cover (#887)Glease
* 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
2022-01-14Add recipe filter block (#870)Glease
* 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
2022-01-10display contents on tooltip of super/quantum chest (#862)Yang Xizhi
2021-12-30fix tank stacks getting an empty nbt tag now and then (#838)Glease
2021-12-24add more turbine texture (#835)Yang Xizhi
2021-12-16reduce the amplifier (#813)Yang Xizhi
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
2021-12-11fix NPE (#794)Yang Xizhi
* make the debuff time depend on contents * fix npe in fluid
2021-12-05make the debuff time depend on contents (#780)GlodBlock
2021-11-21add info display for filled tank and fluid container featureGlodBlock
2021-11-19give player debuff when holding a filled chest/tankGlodBlock
2021-11-18make tank/chest keep its contents when harvstedGlodBlock
2021-10-22Merge pull request #692 from KiloJoel/feature/for-research-multiblockMartin Robertz
Research Completer - Added machine casing and assets
2021-10-19Detect the ore type and replace with that type of cobbleD-Cysteine
2021-10-19Research Completer - Added machine casing and assetsKiloJoel
2021-10-18fix derpDreamMasterXXL
2021-10-18add new machine casings for Hydro EnergyDreamMasterXXL
Rhodium Plated Palladium Machine Casing Iridium Mahine Casing
2021-09-05New casing addedkuba6000
2021-08-07Print powers of 10 instead, for large numbers onlyD-Cysteine
2021-08-07Fix compiler warningD-Cysteine
2021-08-07Add number formatting for tooltips & recipesD-Cysteine
2021-07-30Add documentation for CTM mapping arrayGlease
2021-07-30general bugfix & tweaking pass for multisGlease
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>
2021-07-30fix turbine casing dynamic textureGlease
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-19Get rid of intermediate byte array while sending packetGlease
2021-05-13Merge pull request #515 from GTNewHorizons/files_formatMartin Robertz
Normalize all repository files format
2021-05-01Fix plascrete needing a wrench and having too much hardness and BRPrometheus0000
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-03-13fix(rendering): gregtech stone backgrond orientation on bottom face of oresLéa Gris
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
2021-03-11Implemented Builder Patternbartimaeusnek
2021-03-10Added missingbartimaeusnek
2021-03-10Refactor World Eventsbartimaeusnek
World events have way to many parameters, so the code gets unreadable, this commit fixes that behavior.
2021-03-03impr(rendering): Machine block casts an ambient occlusion shadowLéa Gris
- 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.
2021-02-16feat(render): tile ambient occlusionLéa Gris
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 } ```
2021-01-18Merge branch 'experimental' into mitchej123_cleanupMartin Robertz
2021-01-17More removal of commented out code, small formatting adjustmentsJason Mitchell
2021-01-18Remove additional method in IDescribabler4phael
2021-01-17Fix multiblock machine tooltip errorr4phael
2021-01-05fix(rendering): bottom side orientationLéa Gris
- 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.
2020-12-31Merge branch 'experimental' into long_distance_transferJason Mitchell
2020-12-28Removed some code smellbartimaeusnek
2020-12-28Added Tier Colorsbartimaeusnek