aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/metatileentity
AgeCommit message (Collapse)Author
2023-01-14Added getter for average voltage (#1653)Maxim
2023-01-14Add connection type getter (#1652)Maxim
* Added connection type and getter * Added getter for total eu * Replace old getters
2023-01-12Moved amp getter from energy hatch to hatch class (#1647)Maxim
2023-01-12Added getter for working amperes of a hatch (#1646)Maxim
* Added getter for working amperes of a hatch * Replaced max input amp getter with call to working amp getter
2023-01-06save oversized output stacks properly (#1635)Glease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2023-01-05Allow overriding more progressbar textures & Add document for resource packs ↵miozune
(#1632)
2023-01-02add callhook for pre block destroy (#1625)Glease
* add callhook for pre block destroy Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> * spotless Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2023-01-01fix waila displaying wrong generated eu/t (#1621)Glease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2023-01-01TungSteel to TPV (#1622)Pxx500
2023-01-01Heating element change (#1618)Pxx500
2022-12-28Add colored voltage tier display for Waila (#1598)miozune
* Add colored voltage tier display for Waila * Adapt to new methods
2022-12-28Allow resource packs to override individual progressbar textures (#1596)miozune
* Allow resource packs to override individual progressbar textures * spell: every + singular * Fix potential crash on server with FallbackableSteamTexture
2022-12-26Fix Battery Buffer accepting more than 1 items per slot (#1590)miozune
2022-12-21fixed it (#1577)BlueWeabo
2022-12-21add some more waila display (#1570)Glease
* add some more waila display Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> * rename some translation keys Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> * rename misleading variable names Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2022-12-21disable shift click in maintance hatch (#1571)Yang Xizhi
* disable shift click in maintance hatch * spotlessApply (#1572) Co-authored-by: Yang Xizhi <60341015+GlodBlock@users.noreply.github.com> Co-authored-by: GitHub GTNH Actions <> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-12-19Fix NPE with multiblock explosion (#1565)miozune
2022-12-18Fix incorrect GT logo used for steam machines (#1561)miozune
2022-12-17More Fixes to the PCB Factory (#1554)BlueWeabo
* why am I so bad at spotting bugs * fixes fixes fixes, who needs to reset multipliers * remove the comment * fix oc oops * fix the roughnessMultiplier * fix accidental energy discount * remove the useless hatch boolean * fix units
2022-12-17another attempt at lag fixing (#1556)Glease
* another attempt at lag fixing Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> * fix tests Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> * fix tests 2/2 Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> * address review Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> * get rid of GT_Test Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2022-12-14Fix more things (#1550)BlueWeabo
* fix recipes not working, fix scanner data, fix recipes * add amps display, fix tier 1 being broken oops
2022-11-28Make Waila show all the covers attached (#1527)miozune
* Make Waila show all the covers attached * Make full translatable
2022-11-26Allow setting custom logo for NEI and basic machine (#1525)miozune
2022-11-25Rewrite GUIs with ModularUI (#1381)miozune
* Base work for ModularUI compat * Remove useless interface * Add almost all the widgets * Invert method * Refactor NEI stack placement positions * NEI handlers on ModularUI * Add some more docs * AdvDebugStructureWriter * Fix NEI progressbar not working * PrimitiveBlastFurnace * clean * derp * clean * spotlessApply * Boilers * Buffers * clean * N by N slots containers * Fix boilers not having bucket interaction Put opening UI to individual MetaTEs * Maintenance Hatch * clean * spotlessApply * Add dependency * IndustrialApiary * Adapt to ModularUI change * Base work for covers & fix crash with MP * Fix crash with server * Rewrite base work for covers * Send initial cover data on cover GUI open so that the time of showing incorrect data will be eliminated * Covers part 1 * Rename package: ModularUI -> modularui * Rename class: GT_UIInfo -> GT_UIInfos * Fix build * Covers part2 * Fix missing client check with tile UI & fix title overlap * CoverTabLine * Move cover window creators to inner class * Fix crash with null base TE * Close GUI when tile is broken * Color cover window with tile colorization * Change signature of addUIWidgets * FluidFilter cover, FluidDisplaySlotWidget, BasicTank, BasicGenerator, Output Hatch, MicrowaveEnergyTransmitter, Teleporter, DigitalChest, DigitalTank * Add title tab * Move package: modularui -> modularui/widget * Programmed circuit + IConfigurationCircuitSupport * clean * VolumetricFlask * Remove integrated circuit overlay from recipe input slots * Input Hatch & Quadruple Input Hatch * Multiblock * Deprecate old cover GUI * BasicMachines * Finish BasicMachine & NEI * Expand DTPF NEI to 9 slots * Fix ME input bus on MP * Move AESlotWidget to public class * Move GT_Recipe_Map constructors with mNEIUnificateOutput to setter method * Move SteamTexture.Variant to outer enum * Switch to remote repository * oops * Update MUI * Update MUI * Minor refactor for change amount buttons * Display items and fluids that exceed usual count * blah * use +=, why didn't I do this * Update MUI * Move ModularUI to Base (#1510) * Move ModularUI to Base * Move most of the ModularUI functionality to `BaseTileEntity` (and `CoverableTileEntity`) * `CommonMetaTileEntity` delegates ato the MetaTileEntity * Added several interfaces (with defaults) to indicate if a tile/metatile override/implement certain behaviors. * Moved `IConfigurationCircuitSupport` interface such that it will work with BaseTileEntity or a MetaTileEntity * Address reviews Co-authored-by: miozune <miozune@gmail.com> * Update MUI * Minor changes to NEI * Return :facepalm: * IGetTabIconSet override * Some more changes to NEI * Merge texture getter interfaces to new class GUITextureSet * Remove BBF structure picture as it's auto-buildable now * Make unified title tab style of texture angular * Expose some boiler texture getters for addon * Fix crash with cover GUI on pipe * Lower the number of recipe per page for DTPF & update MUI * Update MUI * Fix crash with middle-clicking slot on circuit selection GUI * Fix circuit selection window not syncing item from base machine * Merge GT_NEI_AssLineHandler into GT_NEI_DefaultHandler * Update MUI * Add in TecTech multi message * Allow changing the way of binding player inventory * Update MUI * Update MUI * Update MUI * Update MUI * Update MUI * Make MUI non-transitive to allow addons to use their own version * Force enable mixin * Format fluid amount tooltip * Add GUITextureSet.STEAM * Add guard against null ModularWindow creation * Add constructors for Muffler Hatch with inventory * Fix output slot on digital chest and tank allowing insertion * Don't log null ModularWindow * Add default implementation for IHasWorldObjectAndCoords#openGUI * Make openGTTileEntityUI accept MultiTE & cleanup Co-authored-by: Jason Mitchell <mitchej@gmail.com>
2022-11-24make long eut base use both tt hatches and normal energy hatches (#1523)BlueWeabo
2022-11-22use long for overclock para (#1522)Yang Xizhi
* use long for overclock para * keep old methods
2022-11-20add the multiblock base that supports power usage as long value (#1521)Yang Xizhi
* add multiblock base supports long power usage * e * fix type
2022-11-16fix typo in depleteInput (#1517)Glease
2022-11-12fix depleteInput only seeing first slot of multi input (#1509)Glease
2022-10-25Add constructor for Energy Hatch with inventory (#1488)miozune
2022-10-25Fix quad input hatch voiding (#1487)Guinea Wheek
fixes https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/11728
2022-10-22Added check to API if the block should drop its inventory on break (#1479)Maxim
* Added check to API if the block should drop its inventory on break * Apply spotless * Changed should drop flag to take index argument
2022-10-17me output hatch (#1473)Yang Xizhi
* me input hacth * sa
2022-10-12Guard against cover data setter (#1458)miozune
2022-10-09Added the remaining tiered components to enums (#1452)Sampsa
2022-10-09duct tape by right click (#1451)Glease
2022-10-01Merge branch 'advanced_redstone_covers'Martin Robertz
# Conflicts: # src/main/java/gregtech/api/util/GT_Utility.java
2022-10-01spotlessMartin Robertz
2022-10-01update BS+SAMartin Robertz
2022-10-01no-more-duplicate-key (#1424)iouter
2022-09-30fix cleanroom showing wrong eu usage while starting up (#1425)Glease
2022-09-26Fix muffler not stopping to run when multi is broken (#1411)Maxim
* Stop muffler when they are removed from the structure and when the controller is broken * Refactoring of muffler toggling
2022-09-23Fix previous oopsieMatej Dipčár
2022-09-23Add new hook `preDataChanged`Matej Dipčár
2022-09-23Implement `onBaseTEDestroyed` hook for coversMatej Dipčár
2022-09-18fix incorrect code path for legacy survival autoplaceGlease
2022-09-18migrate to new survival autoplace api (#1382)Glease
* migrate to new survival autoplace api * reduce type of blocks autoplace will use this does not prevent those blocks from not being accepted into the structures though * implement getBlocksToPlace * fix survivalConstruct code for assline and DT i hate variable size multi :( * fix AIOBE * allow disabling machine block updates on a per-thread basis * make a sensible guess at what texture to use on server side * spotless * implement hologram support for bbf * spotless
2022-09-16duct tape fix for too many updates on an overloaded server preventing ↵Glease
structure check (#1384)
2022-09-11Fix description of Input Bus showing 1 more slot capacity (#1376)miozune
2022-09-11Fix global wireless EU bugging by transferring to world NBT system (#1371)Connor-Colenso
* Transfer to NBT * Half working, write only. * Fix load data * Works, thanks Kuba. * spotlessApply (#1372) Co-authored-by: Connor-Colenso <52056774+Connor-Colenso@users.noreply.github.com> Co-authored-by: GitHub GTNH Actions <> * Fix NPE in unit tests * Spotless * Move clear map * Spotless and import cleanup * Suppressions and warning corrections * Warnings, warnings, warnings smh. Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com> Co-authored-by: kuba6000 <kuba.123123.6000@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>