Commit Graph
56 Commits
Author SHA1 Message Date
Abdiel Kavash 6187a7306d Level Maintainer fulfills requests in a round robin pattern. (#187) 2024-01-01 11:25:01 +01:00
Andrei Laiff 6e96cba6fe Correct split client-server code 2023-12-23 14:39:11 +02:00
TechnicianLP db8aee2c25 Implement Interface Locking for Dual Interfaces (#182)
* Implement Interface Locking for Dual Interfaces

* Update AE2
2023-12-20 13:03:50 +01:00
f5912ef2e3 Add LevelMaintainerTerminal rework logic inside TileLevelMaintainer (#162)
* Use new interface terminal API

* Update dependencies.gradle

* feat: Update core hooks and integrations

* api: Add `LevelTerminalRegistry` functionality

* feat: Use `customName` to display in `GuiFluidLevelEmitter`

* feat: Rework scheduling and data storage in `TileLevelMaintainer` functionality

* feat: Add new item `LevelTerminal`

* feat: Support back navigation functionality

* feat: add back navigation in `LevelMaintainer` from terminal

* use `IGuiTooltipHandler` directly from ae2

include #160

* fix correct `InterfaceTerminalSupportedClassProvider` deprecation

* Implement new version of `InterfaceWireless` based on `InterfaceTerminal`

* Fix `LevelTerminal` data recursion and few in fixes gui

* Use `aeRenderItem` directly and fix `zIndex` in custom slots

* Fix rendering numbers bigger than 2.1G through `aeRenderItem`

* Fix fails on `getCraftingItem`

no root cause was found

* Fix add packet logging and try to not fail after receive corrupted packet

* Fix add logging around empty configuration

* Fix packet corruption and log invalid data

* Fix packet corruption with level emitters

* Correct handle overwrite packet

* Fix intercept dnd click from GT5 hook for `AppEngGuiHandler`

keyword `net.bdew.neiaddons.appeng.AppEngGuiHandler`

* update be+deps

* Update dependencies.gradle

* Update dependencies.gradle

* Fix `zIndexes` for compatability with `DuraDisplay`

* Update AE2 and fix compatability

* Change `ForgeDirection` side serialization to `byte`

* Fix tooltip zIndexes

* Rename all rest parts related to `Level terminal`

* Code cleanup after review

* Remove duplicated dependency declaration

---------

Co-authored-by: Firenoo <49818773+firenoo@users.noreply.github.com>
Co-authored-by: Martin Robertz <dream-master@gmx.net>
2023-10-27 14:10:07 +02:00
miozune 1efa92adad Fix stacksize overflow when overlaying recipe (#167) 2023-10-25 23:01:56 +09:00
miozune 861791f4fb Fix GUIs not accepting numpad enter key (#159)
* updateBuildScript

* updateDependencies

* Fix GUIs not accepting numpad enter key

* Fix wildcard import
2023-09-27 16:03:59 +02:00
Raven Szewczyk 64977b87a9 Lazy monitor updates (#150)
* Update buildscript and dependencies

* Implement getAvailableItem for faster network updates

* Use findPrecise
2023-08-05 09:39:12 +02:00
chill d5b8ef6ea9 Code cleanup (#133)
* gradle updateBuildScript

* fix comments and commented-out code

Code deletion, converting comments into javadocs, and refactoring code to not
need comments.

* remove redundant suppressions

* replace C-style array declaration with Java-style

* make private field final

* remove unnecessary semicolon

* extract a common part from an if

* simplify boolean expression

* simplify ternary if

* remove unused imports

* convert escaped characters for clarity

* replace while with for

* replace explicit types with diamond operators

* replace anonymous type with lambda

* enable modern Java syntax

* migrate to enhanced switch

* migrate to pattern variables for instanceof

* remove empty javadoc

* add Nonnull annotation to overrides of Nonnull methods

* replace wailaStack with null

When wailaStack is not null, the flow breaks out of the loop,
so there's no need to confuse the reader with putting wailaStack
both as the result and the parameter of the call - there's no
recursion.

* int cannot be bigger than its max value

* suppress dataflow warning

* remove redundant initializer

The default value of int is 0.

* null check is covered by instanceof

* simplify some calls of addVertexWithUV

* fix typos and add TODOs

* make flipState more understandable
2023-06-18 23:29:57 +02:00
firenooandGitHub GTNH Actions f87b76347e Update APIs (#130)
* Add an API to allow other mods to blacklist fluids from this mod.

* Removed Thaumic Energistics config setting. This will be handled by
Thaumic Energistic's side (which also happens to have a config setting).

* Added an API that allows for blacklisting fluids from either the storage
or the display individually.

* Prevent blacklisted fluids from being discretized

* Update API usage

- use AE2's new API

- use ThE's config setting for aspect -> gas

* spotlessApply

---------

Co-authored-by: GitHub GTNH Actions <unknown>
2023-05-20 19:46:37 +02:00
firenooGitHub GTNH Actionsgithub-actions[bot]
3da14b3bbe More ec2 mappings (#124)
* Replace ore dictionary bus

Extra Cells ore dict bus -> export bus w/ ore dict card
(retains ore filter setting, not verified they are 1:1)

* Add OpenComputer migration

Moves migration to postInit, and migrates OC upgrades.

* Remap wireless w/ correct encryption key + power

Basically now works without needing to relink in security term

* Update buildscript

* spotless apply

* spotlessApply (#125)

Co-authored-by: GitHub GTNH Actions <>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-06 19:04:59 +02:00
asdflj 6505967826 add fluid packet check 2023-02-28 09:06:06 +08:00
asdflj 78e9291fc6 Certus Quartz Tank add waila support
fluid packet decode add support to use conduit to export fluid
2023-02-27 16:50:29 +08:00
asdflj a8155c8b17 fix when open the auto filler, always to try update pattern
add using exists item to fill pattern slot
2023-02-02 11:13:59 +08:00
GlodBlock dadf2784a8 fixes 2023-02-01 21:15:44 +08:00
asdflj a22814940b add wireless fluid terminal 2023-01-30 22:52:25 +08:00
GlodBlock 482298021e tank 2023-01-30 18:07:57 +08:00
asdflj 99f8e98017 spotless apply 2023-01-29 16:30:27 +08:00
Yang Xizhi 1f6dc04a71 Merge branch 'master' into bookmark 2023-01-29 14:25:51 +08:00
asdflj bad29bfdc3 add certus quartz tank 2023-01-29 14:21:56 +08:00
Jason Mitchell 69a5c0e6ee [ci skip] spotlessApply with the new settings 2023-01-28 17:43:10 -08:00
asdflj 44ff338023 add fluid auto filler 2023-01-28 20:47:10 +08:00
asdflj 3f35dadb41 add walrus 2023-01-25 14:08:36 +08:00
GlodBlock 8d072f0c89 refactor 6 2023-01-23 16:45:14 +08:00
GlodBlock 5b62c4fdc8 refactor 5 2023-01-22 19:37:44 +08:00
asdflj f07d996eb7 fix level maintainer if item can't be craft, it always requests item to crafting 2023-01-14 19:23:23 +08:00
asdflj de63822afb update level_maintainer 2023-01-12 09:43:06 +08:00
asdflj 0ca9a9f46c fix bug 2023-01-03 10:16:24 +08:00
GlodBlock 23379df0b0 sa 2022-12-18 15:57:32 +08:00
asdflj c9ba859d34 fix fluid buffer bug 2022-12-18 15:04:59 +08:00
asdflj 77ccfb5606 add Fluid Buffer 2022-12-14 15:05:00 +08:00
asdflj 5e31096c7e spotless apply 2022-12-05 14:41:36 +08:00
Martin Robertz b81a18ff65 Merge pull request #24 from dipo33/fluid-interface-sideless
Add option to make Fluid Interface sideless
2022-12-04 18:18:51 +01:00
Matej Dipčár d712c01657 Make DualInterface behaviour correspond to sideless setting 2022-12-03 23:28:20 +01:00
Matej Dipčár 05485ddaa6 Add SidelessMode button to FluidInterface 2022-12-03 21:08:31 +01:00
asdflj b3fa0c09d1 add waila support 2022-11-30 10:29:37 +08:00
Matej Dipčár bcb688c079 Remove sides from fluid interface 2022-11-28 01:44:36 +01:00
asdflj 7a18bed394 fluid packet decoder add slot restricted input 2022-11-17 10:55:21 +08:00
asdflj 244e7fb4f8 Level Maintainer add control button
Level Maintainer add oc support
fix Level Maintainer render error
2022-11-15 09:06:23 +08:00
asdflj 5d31d6d6fb Add LevelMaintainer 2022-11-09 11:03:46 +08:00
asdflj ce1ac164dc update 2022-11-05 15:34:36 +08:00
GlodBlock ab4acbe5eb fix wrong bytes display when ingrentent isn't enough and a possible dupe from fluid packet decoder 2022-10-06 23:07:26 +08:00
vfyjxf dbbaea9235 Allows the use of the middle mouse button to modify the number of items in the pattern. 2022-08-14 00:44:55 +08:00
GlodBlock e8825d74e7 fix drops leak to item cell when discretizer go offline 2022-08-01 14:52:57 +08:00
GlodBlock ec9f55d17a fix 4096k int overflow and drops 2022-07-30 22:32:42 +08:00
GlodBlock 736a4b2051 combine button 2022-07-24 18:00:10 +08:00
GlodBlock 35f2dd4073 add larger buffer 2022-07-13 21:16:19 +08:00
GlodBlock f39548d97b remove the origin hacky shit 2022-07-11 23:53:15 +08:00
GlodBlock c9ed833e59 optimize tick a bit 2022-07-09 18:21:17 +08:00
GlodBlock af42494561 revert the energy consumption when insert/extract fluid 2022-07-06 11:25:44 +08:00
GlodBlock e38869f07d ec2 style output rule and oc integration 2022-06-30 19:52:58 +08:00