aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/covers
AgeCommit message (Collapse)Author
2022-09-01impl(covers): functional covers uses machine casing (#1317)Léa Gris
* impl(covers): functional covers uses machine casing - Functional covers now will let see the casing, when placed on machines. - When placed on pipes or frames, they continue to use their own tiered casing as they used to. * impr(cover): restore backward compat interface to cover registgration Registering covers with the old interface works again. Legacy cover registration just produce covers that renders the old way without transparency over machine casing. Removed the useless GT_Cover_Cased class and added the feature to the GT_CoverBehavior class, maintaining the old constructor alongside the new constructor with an overlay texture. * impr(covers): deprecate old constructors Delete totally redundant and unused EnergyOnly cover Keeps other unused covers as TODO reimplementation tasks * impr(covers): fludStorageMonitor overlay - Re-add FluidStorageMonitor fluid-texture overlay - Allow light-emitting fluids to render as glow texture. * impr(covers): Expand foreground texture support to GT_Cover_FacadeBase * spotlessapply
2022-08-27Update buildscript & apply spotless (#1306)Raven Szewczyk
* Update dependencies * Update buildscript, apply spotless
2022-08-25feat(vent_cover): cool hot-coolant (#1298)Léa Gris
Provides a low tech method to cool down hot-coolant using vent covers. It is meant for reprocessing hot coolant before having access to a Large Heat Exchanger or a VacuumFreezer. The tier of vent cover and the type of aire or water in front of it determines the cooling speed. Feature preview: https://youtu.be/g5a-WuVBqOI
2022-08-15Overriding GUI colors with .mcmeta (#1261)Albi
* Implemented gui textcolor override with .mcmeta files * cleanup * Added shared class to reduce code duplication * Moved #drawLine back to GT_NEI_DefaultHandler
2022-08-14Fluid Limiter Cover (#1248)TrainerSnow
* Add FluidLimiter Cover * Update ItemList.java and register * Add texture * Refactor method
2022-08-14do not cache result of GuiColors if the object is not short-lived (#1254)Glease
2022-08-12Added means of customizing GUI colors for resource packs (#1203)Albi
* Added means of customizing GUI colors through lang file * Color values are now stored in json file instead of the lang file * Made json only load upon resource reload and ensured server compatibility Co-authored-by: Martin Robertz <dream-master@gmx.net>
2022-08-05GUI for facade covers (#1201)Florexiz
2022-07-02Par, var, begone! (#1104)YannickMG
* Renamed parameters of ItemBlock subclasses * Renamed damageDropped and getDamageValue method parameters of Block subclasses * Removed trivially superfluous overrides of Block::quantityDropped, Block::isOpaqueCube and Block::renderAsNormalBlock * Removed trivially superfluous overrides of Block::getItemDropped * Cleaned up a few more block subclass method parameters * Cleaned up obsolete Javadoc * par1 -> block in ItemBlock Constructors * Renamed arguments to drawGuiContainerForegroundLayer * Cleaned up redundant casts * Renamed arguments to drawGuiContainerBackgroundLayer * Renamed arguments to Slot subclass constructors * Renamed arguments to World subclass GT_DummyWorld * Renamed parameters of updateProgressBar * Renamed the rest of the par* parameters outside of GT_MinableOreGenerator which should be deleted * Renamed most var1-var10 and a few more in generally non-dead code * Renamed last varSomething variables * Removed 3 fully dead classes used nowhere in the codebase, with obsolete unused code
2022-05-26Fluid Regulator GUI fixes (#1065)miozune
* Fluid Regulator GUI fixes * Disallow too large negative value * Fix inputting invalid values in a row does not update textbox * another fix for invalid input * Fix messing around with tick rate can bypass pump limit * tab
2022-04-24Add Fluid Storage Monitor Cover (#1027)MuXiu1997
* Add Fluid Storage Monitor Cover * Add support for normal cells etc. * Add Recipe
2022-04-19Add Threshold to Energy Detector Cover (#1025)MuXiu1997
* Add Threshold to Energy Detector Cover * Fix things * Refactor
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-04-16Refuse to allow multiple controllers on a single block (#1023)MuXiu1997
2022-03-05Fix disable machine mode on cover (#968)Jakub
2022-03-02add locks to the node graph so paths can block power transfer #25 (#950)Martin Robertz
Co-authored-by: bot <Krampus.sack.never@gmail.com>
2022-02-22disable rendering facade texture intended for second pass (#944)Glease
2022-02-16Fix typo (#939)miozune
2022-02-09Do not reference class on dedicated server (#929)Glease
Rendered erroneously is bad, but crashing outright is even worse.
2022-02-04Translation related fixes (#920)Glease
* Translation related fixes * Rename trans to transItem
2022-01-27Fix copy pasting error in fluid regulator (#897)Glease
2022-01-24Add conditional mode to fluid regulator (#890)Glease
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-22- fixed threshold GUI for item detector cover on digital chests (#884)repo-alt
- some cleanup
2022-01-15Feature/ae dependency optional (#874)repo-alt
* Allow toolbox usage for maintenance w/o opening GUI (Also resolves https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/9044) * make AE dependency optional again
2022-01-08Fix ItemFilter GUI brokenGlease
2022-01-06Modify translation numbers for localization (#854)iouter
Modify translation numbers for localization
2021-12-31clarify conditional (#842)bombcar
* clarify conditional * keep conditional
2021-12-21Fix typo (#829)Glease
2021-12-18Fix derp in BaseMetaPipeEntity during git merge (#824)Glease
Also added a bunch of fallback overrides to GT_Cover_None in the case of my stupid programming errors again
2021-12-15Fix incorrect common code extraction (#807)Glease
2021-12-09Add threshold support to item and fluid covers (#785)D-Cysteine
* Add threshold support to item and fluid covers * Switch to storing in NBT * Add handling for migration path * Adjust item threshold max value
2021-12-02add select circuit gui for machine and circuits itself (#773)Martin Robertz
also fixed some issue with basic machine gui introduced in 9d42b299def1c41bbc7a1f01efe445be28f54399 also retrofitted volumetric flask to use the new INetworkUpdatableItem and GT_Packet_UpdateItem, deprecating MessageSetFlaskCapacity in the meanwhile. To open the gui for machine, shift-left-click the circuit slot To open the gui for circuit, click any block (need to be sneaking if it's chest, furnace, etc) with the circuit held in hand. Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> Co-authored-by: Glease <4586901+Glease@users.noreply.github.com>
2021-11-17Revert unintended changes in GT_Cover_ItemMeterGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-11-17Rename GT_CoverBehavior_New to GT_CoverBehaviorBaseGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-11-17convert ItemFilter to use NBTTagCompound storageGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-11-17convert cover data storage to a full nbt tagGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-09-22better spread of channel values when using items of the same itemIDMatt
2021-09-22sendChatToPlayer now sends only the public portionMatt
2021-07-22Added caching to the ME output bus, to reduce stress on ME system in high ↵repo_alt
output rate cases Also, added item detector cover support to the bus, so that the item detector will signal "full" in case of ME failure https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/8231
2021-07-03Remove unnecessary redstone state query for coversGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-06-26remove debug message and fix the tooltipGlodBlock
2021-06-26fix the typoGlodBlock
2021-06-25add item filter coverGlodBlock
This stuff will be rewritten when cover supports NBT.
2021-06-25Fix redstone cover UX being weirdGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-06-07removed covervariable as a parameter and applied proper maskingMatt
2021-06-06Uses GT_WirelessRedstoneCover packets nowMatt
2021-06-05Made fixes based on Glease's suggestionsMatt
2021-06-05fixed some bit masking logicMatt
2021-06-04replaced another magic bitmaskMatt