aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api
AgeCommit message (Collapse)Author
2021-03-30Made it so that machine control covers disable themselves when thecharles
machine runs out of energy
2021-03-24feat(cover): hide covers when holding a soldering-ironLéa Gris
2021-03-23fix(rendering): brightness of no-z-fighting offset facesLéa Gris
Ignore the z-fighting offset when detecting if a face uses the block's brightness or the brightness from the block above.
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-20fix(interface): add default getTextureCoveredLéa Gris
Implement requested change: https://github.com/GTNewHorizons/GT5-Unofficial/pull/469#discussion_r598084051 A default method body is required for older add-ons implementing the old interface without a `getTextureCovered` method, or those would crash when rendering their covered full-size pipes.
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
2021-03-12requested changesLéa Gris
- Fix modifiers order - Fix redundant string literal - Fix indentation - fix missing run()
2021-03-12Merge pull request #461 from repo-alt/experimentalMartin Robertz
Correctly release/reuse channel after ME bus removal and reconnect
2021-03-11Minor improvementsbartimaeusnek
2021-03-11Implemented Builder Patternbartimaeusnek
2021-03-10Missed onebartimaeusnek
2021-03-10Added a few safety measurementsbartimaeusnek
2021-03-10Added missingbartimaeusnek
2021-03-10Implemented Requestsbartimaeusnek
2021-03-10Refactor World Eventsbartimaeusnek
World events have way to many parameters, so the code gets unreadable, this commit fixes that behavior.
2021-03-10Correctly release/reuse channel after ME bus removal and reconnectrepo_alt
2021-03-10feat(i18n): translatable muffler descriptionLéa Gris
+ refactor
2021-03-09Changes 4 Bartbasdxz
2021-03-09Minor clean up and extension of hatch mufflerbasdxz
-Plus like, a small comment here or there
2021-03-09Minor clean up and extension of hatch muffler (#459)basdxz
* Minor clean up and extension of hatch muffler -Plus like, a small comment here or there * Changes 4 Bart
2021-03-05Add use for fool's ruby AKA spinelPrometheus0000
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-25Reshuffle new constructor args to avoid conflict with GT++ ASMrepo_alt
2021-02-25Added back bus constructor for "backwards" compatrepo_alt
2021-02-25Make ME hatch have zero slots, to avoid items being stuck inside (#439)repo-alt
* Make ME hatch have zero slots, to avoid items being stuck inside * added a missing whitespace Co-authored-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
2021-02-24Merge pull request #437 from GTNewHorizons/RenderAOLéa Gris
feat(render): tile ambient occlusion
2021-02-25Merge pull request #440 from GTNewHorizons/patch-water-bottle-divide-0Glease
Fix bottled water filling
2021-02-22Fix bottled water fillingGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-02-22Pickup fluid instead if the input tank is fullGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
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-02-10Merge pull request #434 from GTNewHorizons/gui-manipulate-fluidMartin Robertz
Fix bucket gui fluid manipulation
2021-02-10Fix bit fiddlingGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-02-10Fix bucket gui fluid manipulationGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-02-09Merge pull request #431 from repo-alt/experimentalMartin Robertz
Better quantum chest integration
2021-02-09Allows manipulating multiple cell worth of fluidGlease
Left click to do as many manipulation as possible. Right click to just manipulate once. Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-02-08Better quantum chest integrationrepo_alt
https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/7448
2021-02-09Fix size 0 fluid stackGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-02-01Merge pull request #429 from GTNewHorizons/autoclave-fluid-outMartin Robertz
allow autoclave to have fluid out in recipe
2021-02-01allow autoclave to have fluid out in recipekorneel vandamme
2021-01-31Address reviewsGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-01-31BasicMachine fluid tank manipulations in GUIGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-01-30Merge pull request #426 from KiloJoel/shadowmetalBeeFixMartin Robertz
added GT shadowmetal block, fixed bee crash from new TM
2021-01-29added GT shadowmetal block, no texture yetKiloJoel
2021-01-29multipipe drain() method ignores requested fluid types after firstrepo_alt
https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/7405
2021-01-25feat(i18n): itemlist withname localeLéa Gris
Automatically generates entries into `Gregtech.lang` for items with custom names (mostly used for recipes display in NEI). Ported from: https://github.com/Blood-Asp/GT5-Unofficial/pull/1552 Will provide new localization keys and default English texts. Newly generated entries in `Gregtech.lang`: ```yaml S:gt.metaitem.01.32707.with.CopyOfTheOrb.name=Copy of the Orb S:gt.metaitem.01.32707.with.OrbToCopy.name=Orb to copy S:gt.metaitem.01.32707.with.OrbToOverwrite.name=Orb to overwrite S:gt.metaitem.01.32708.with.AnalyzedProspectionData.name=Analyzed Prospection Data S:gt.metaitem.01.32708.with.CopyOfTheStick.name=Copy of the Stick S:gt.metaitem.01.32708.with.RawProspectionData.name=Raw Prospection Data S:gt.metaitem.01.32708.with.ReadsResearchResult.name=Reads Research result S:gt.metaitem.01.32708.with.ScannedBookData.name=Scanned Book Data S:gt.metaitem.01.32708.with.ScannedMapData.name=Scanned Map Data S:gt.metaitem.01.32708.with.ScannedSchematic.name=Scanned Schematic S:gt.metaitem.01.32708.with.StickToCopy.name=Stick to copy S:gt.metaitem.01.32708.with.StickToOverwrite.name=Stick to overwrite S:gt.metaitem.01.32708.with.StickToSaveItTo.name=Stick to save it to S:gt.metaitem.01.32708.with.WithPunchCardData.name=With Punch Card Data S:gt.metaitem.01.32708.with.WithScannedBookData.name=With Scanned Book Data S:gt.metaitem.01.32708.with.WithScannedMapData.name=With Scanned Map Data S:gt.metaitem.01.32708.with.WritesResearchResult.name=Writes Research result S:ic2.crop.invalid.with.ScannedSeeds.name=Scanned Seeds S:item.for.beeDroneGE.with.ScannedDrone.name=Scanned Drone S:item.for.beeLarvaeGE.with.ScannedLarvae.name=Scanned Larvae S:item.for.beePrincessGE.with.ScannedPrincess.name=Scanned Princess S:item.for.beeQueenGE.with.ScannedQueen.name=Scanned Queen S:item.for.butterflyGE.with.ScannedButterfly.name=Scanned Butterfly S:item.for.caterpillarGE.with.ScannedCaterpillar.name=Scanned Caterpillar S:item.for.pollenFertile.with.ScannedPollen.name=Scanned Pollen S:item.for.sapling.with.ScannedSapling.name=Scanned Sapling S:item.for.serumGE.with.ScannedSerum.name=Scanned Serum ```
2021-01-24Merge branch 'experimental' of ↵repo_alt
https://github.com/GTNewHorizons/GT5-Unofficial into experimental