Commit Graph
38 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
GlodBlock 4f54c9bb28 add 5 type fluid cell 2023-02-12 20:12:23 +08:00
GlodBlock 96c7032523 add fluid cell housing 2023-02-12 19:04:04 +08:00
asdflj f7001d205e fix bug 2023-02-12 15:54:35 +08:00
asdflj eb293ceb63 add ME Fluid Quantum Storage Cell
add ME Fluid Digital Singularity Storage Cell
2023-02-11 21:57:05 +08:00
asdflj 56b8683686 update wireless interface recipe 2023-02-10 16:19:34 +08:00
asdflj d2c420d193 add wireless interface terminal 2023-02-08 12:07:15 +08:00
asdflj 92213031f8 fix bug 2023-02-05 18:12:58 +08:00
GlodBlock e1aa537670 make wct recipe not removed 2023-02-03 13:03:55 +08:00
GlodBlock dadf2784a8 fixes 2023-02-01 21:15:44 +08:00
asdflj 8081eb2c2c all done? 2023-02-01 16:25:42 +08:00
asdflj a22814940b add wireless fluid terminal 2023-01-30 22:52:25 +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 d238a82451 portable cell recipe 2023-01-28 23:45:39 +08:00
Martin Robertz 4d236cb898 Merge pull request #69 from asdflj/bookmark
add fluid storage monitor
2023-01-25 10:36:13 +01:00
asdflj 3f35dadb41 add walrus 2023-01-25 14:08:36 +08:00
asdflj 3531f9f23e add fluid storage monitor 2023-01-24 21:38:10 +08:00
GlodBlock 4440ea5a1c colorful tooltips and 16384k cell 2023-01-23 20:52:19 +08:00
Yang Xizhi c5e9b34a5e Merge branch 'master' into fix/fluidterminal 2023-01-20 15:29:25 +08:00
asdflj 5ca8909dbf add fluid level emitter 2023-01-19 00:07:16 +08:00
GlodBlock fe1ec6276d add fluid storage bus 2023-01-17 22:41:49 +08:00
Christmas fb7454ab71 Fix NPE
NPE if "Enable Fluid Storage Cell" entry "false"
2022-12-19 18:04:14 +03: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 5d31d6d6fb Add LevelMaintainer 2022-11-09 11:03:46 +08:00
asdflj 238fd317e4 add fluid terminal 2022-10-20 12:28:01 +08:00
zy c313f51750 update
add recipe encode pattern crafting blank pattern
add control shift click to encode whole stack
fix import export nane display error
2022-09-17 19:05:31 +08:00
GlodBlock 35f2dd4073 add larger buffer 2022-07-13 21:16:19 +08:00
GlodBlock 68bb02b171 recipe for oc pattern editor 2022-06-30 20:27:19 +08:00
GlodBlock 33823e3546 recipe and config 2022-05-27 22:41:11 +08:00
GlodBlock 67abd1ec9e add buffer 2022-05-16 17:33:35 +08:00
GlodBlock d977fc7331 support for eio and gt6 2022-05-12 17:38:27 +08:00
GlodBlock 18647ceb31 config file 2022-05-11 22:07:01 +08:00
GlodBlock 226e977e85 recipes 2022-05-11 21:38:30 +08:00
GlodBlock 19232b92e5 add part version of fluid interface 2022-05-11 19:40:19 +08:00