Commit Graph
33 Commits
Author SHA1 Message Date
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
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
firenoo c29f8cf846 Fix FluidContainerRegistry interactions w/ Certus Quart Tank (#122)
The Certus Quartz Tank previously did not consider the
FluidContainerRegistry API for fluid containers, so fluid containers
that implemented that (like ic2 cells) were voided when filling the
tank.

Signed-off-by: Firenoo <49818773+firenoo@users.noreply.github.com>
2023-05-01 19:37:53 +02:00
asdflj 7438c7075c fix can't be display in network details 2023-02-24 09:40:21 +08:00
GlodBlock dadf2784a8 fixes 2023-02-01 21:15:44 +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
GlodBlock 80340dbd75 add portable fluid cell 2023-01-28 23:15:33 +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
asdflj de63822afb update level_maintainer 2023-01-12 09:43:06 +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
asdflj 73fcfce454 add level maintainer permission control 2022-11-21 14:53:27 +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 ce1ac164dc update 2022-11-05 15:34:36 +08:00
GlodBlock 88ccb54fe3 fix oc driver register crash 2022-08-23 10:07:01 +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 3c128450b5 creative tabs 2022-07-22 12:10:04 +08:00
GlodBlock 35f2dd4073 add larger buffer 2022-07-13 21:16:19 +08:00
GlodBlock e38869f07d ec2 style output rule and oc integration 2022-06-30 19:52:58 +08:00
GlodBlock 475842d115 1.12 fluid interface style 2022-06-23 23:54:49 +08:00
GlodBlock bd5c2eb171 clean up 2022-05-16 20:21:35 +08:00
GlodBlock 67abd1ec9e add buffer 2022-05-16 17:33:35 +08:00
GlodBlock 226e977e85 recipes 2022-05-11 21:38:30 +08:00
GlodBlock 39b089805c more careful ae2 check and obs field check 2022-05-10 22:36:28 +08:00
GlodBlock db2ad29b52 begin work 2022-05-10 17:57:38 +08:00