Commit Graph
15 Commits
Author SHA1 Message Date
Alexdoru a4892aee06 fix NPE in FluidPatternDetails (#163) 2023-10-13 02:16:18 +02:00
Glease 25ab0916a7 add fluid pattern blame (#161) 2023-10-07 10:59:40 +08: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
Jason Mitchell 69a5c0e6ee [ci skip] spotlessApply with the new settings 2023-01-28 17:43:10 -08:00
asdflj 5e31096c7e spotless apply 2022-12-05 14:41:36 +08:00
asdflj fd6eb37369 fluid terminal add "use substitutions" button 2022-10-31 09:16:19 +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
zy f6c10901d9 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 20:05:30 +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
DianeXD e3f02860e8 Update pattern terminal
Basically the same as this pr
https://github.com/GTNewHorizons/Applied-Energistics-2-Unofficial/pull/143
2022-07-09 15:15:42 +08:00
GlodBlock 0845c25190 remove unnecessary null fail 2022-06-21 21:12:30 +08:00
GlodBlock 00ccec53f3 make extended pattern actually work 2022-05-30 21:45:14 +08:00
GlodBlock 89837f9497 fix pattern remove and add 2022-05-30 19:33:34 +08:00
GlodBlock c45419a985 impl the interface terminal 2022-05-19 16:49:27 +08:00
GlodBlock db2ad29b52 begin work 2022-05-10 17:57:38 +08:00