aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/covers
AgeCommit message (Collapse)Author
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
2021-06-04Clean ups and fixesMatt
2021-06-04Private channel is now implementedMatt
2021-06-04User can only manually change the lower 16 bits of the coverVariableMatt
2021-06-01Merge remote-tracking branch 'origin/experimental' into experimentalMatt
2021-06-01Made the redstone reciever safer to use on public serversMatt
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-15Fix machine controller gui not being properly initializedGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
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 ```