Commit Graph
1433 Commits
Author SHA1 Message Date
Alexdoru cdc7dcf5d0 quick fix : optimize imports 2023-01-28 18:02:41 -08:00
Alexdoru ae363450b1 quick fix : Private field may be 'final' 2023-01-28 18:02:41 -08:00
Alexdoru b1c2569992 quick fix : Access static member via instance reference 2023-01-28 18:02:41 -08:00
Alexdoru 983ca22d97 spotless 2023-01-28 18:02:41 -08:00
Alexdoru abda4a244b potential bug ? ItemSTack was used instead of LandmineStack 2023-01-28 18:02:41 -08:00
Alexdoru 544f51e532 quick fix : String comparison using '==', instead of 'equals()' 2023-01-28 18:02:41 -08:00
Alexdoru fbccf4e087 quick fix : Statement with empty body 2023-01-28 18:02:41 -08:00
Alexdoru 3f0854baeb delete unused float[65536] array in SlimeBounceHandler 2023-01-28 18:02:41 -08:00
Alexdoru 98f3da6131 stop calling EnvironmentChecks and remove dead code in EnvironmentChecks 2023-01-28 18:02:41 -08:00
Alexdoru dba65e38dd quick fix : Can be replaced with single 'Map.getOrDefault' method call 2023-01-28 18:02:41 -08:00
Alexdoru 3d1489401c quick fix : Collections.sort() can be replaced with List.sort() 2023-01-28 18:02:41 -08:00
Alexdoru bbaba41d83 quick fix : Unnecessary 'return' statement 2023-01-28 18:02:41 -08:00
Alexdoru 67c8b53cf1 quick fix : Unnecessary 'continue' statement 2023-01-28 18:02:41 -08:00
Alexdoru 379d0cb168 quick fix : Too weak variable type leads to unnecessary cast 2023-01-28 18:02:41 -08:00
Alexdoru a7bc4185c7 quick fix : 'StringBuilder' can be replaced with 'String' 2023-01-28 18:02:41 -08:00
Alexdoru 2d13e6185e quick fix : Redundant type cast 2023-01-28 18:02:41 -08:00
Alexdoru b34eec4dea quick fix : Redundant Collection operation 2023-01-28 18:02:41 -08:00
Alexdoru 14f970318b quick fix : Redundant String operation 2023-01-28 18:02:41 -08:00
Alexdoru d4ffbd85f4 quick fix : Redundant array creation 2023-01-28 18:02:41 -08:00
Alexdoru aa1b25c8e5 quick fix : Multiple occurrences of the same expression 2023-01-28 18:02:41 -08:00
Alexdoru 173eab9a0e quick fix : Manual min/max calculation 2023-01-28 18:02:41 -08:00
Alexdoru 114fce2770 quick fix : Duplicate branches in 'switch' 2023-01-28 18:02:41 -08:00
Alexdoru f446ea280f quick fix : Condition is covered by further condition 2023-01-28 18:02:41 -08:00
Alexdoru 4ad67bc34b quick fix : 'if' can be replaced with 'switch' 2023-01-28 18:02:41 -08:00
Alexdoru 9cfd723ea3 quick fix : Raw use of parameterized class 2023-01-28 18:02:41 -08:00
Alexdoru f384a4fe28 quick fix : Redundant 'if' statement 2023-01-28 18:02:41 -08:00
Alexdoru 28b094ea1a quick fix : Minimum 'switch' branches 2023-01-28 18:02:41 -08:00
Alexdoru 350177b5c9 quick fix : Access static member via instance reference 2023-01-28 18:02:41 -08:00
Alexdoru 2f47fd5545 quick fix : Redundant 'throws' clause 2023-01-28 18:02:41 -08:00
Alexdoru fc54dde7ce quick fix : 'if' statement with identical branches 2023-01-28 18:02:41 -08:00
Alexdoru 04c7d32b53 quick fix : 'static' method declared 'final' 2023-01-28 18:02:41 -08:00
Alexdoru d44b7ece32 quick fix : Redundant local variable 2023-01-28 18:02:41 -08:00
Alexdoru 25522dae75 quick fix : Empty 'try' block 2023-01-28 18:02:41 -08:00
Alexdoru 3a2b50acd5 quick fix : Renamed catch block parameter to ignored 2023-01-28 18:02:41 -08:00
Alexdoru 60f7add07f quick fix : Explicit type can be replaced with <> 2023-01-28 18:02:41 -08:00
Alexdoru 7abe2f5182 quick fix : 'while' loop replaceable with enhanced 'for' loop 2023-01-28 18:02:41 -08:00
Alexdoru d6b69264b9 quick fix : Unnecessary boxing / unboxing 2023-01-28 18:02:41 -08:00
Alexdoru 83a1fa7957 quick fix : String concatenation in loop 2023-01-28 18:02:41 -08:00
Alexdoru 2312e2f4c9 quick fix : Integer multiplication or shift implicitly cast to long 2023-01-28 18:02:41 -08:00
Alexdoru f677a4c5b7 quick fix : Wrapper type may be primitive 2023-01-28 18:02:41 -08:00
Alexdoru 8e1425203e quick fix : Bulk operation can be used instead of iteration 2023-01-28 18:02:41 -08:00
Alexdoru f9c44ee3e5 quick fix : Unnecessary interface modifier 2023-01-28 18:02:41 -08:00
Alexdoru b84b6e58bf quick fix : Unnecessary semicolon 2023-01-28 18:02:41 -08:00
Alexdoru ab8c7869a9 quick fix : Unnecessary enum modifier 2023-01-28 18:02:41 -08:00
Alexdoru 825643a7c4 quick fix : C-style array declaration 2023-01-28 18:02:41 -08:00
Alexdoru b28b754ea9 quick fix : Inner class may be 'static' 2023-01-28 18:02:41 -08:00
Alexdoru 7a908c2bf5 condition is always false and Hodgepodge already cancels crosshair render 2023-01-28 18:02:41 -08:00
Alexdoru 66bf122138 keybinds (#67)
* unbind keybinds by default

* spotless
2023-01-27 20:33:01 +01:00
NexusNull 54e24a25f4 Backport: Only break one block when sneaking (#65)
* only break one block on shift

* sportless

Signed-off-by: NexusNull <p.wellershaus@googlemail.com>

* fixes https://github.com/GTNewHorizons/TinkersConstruct/pull/65/files/41a1ecea30cb0506d068da30c16fc27dcf64550f#r1071818922

Signed-off-by: NexusNull <p.wellershaus@googlemail.com>

Signed-off-by: NexusNull <p.wellershaus@googlemail.com>
2023-01-17 09:22:51 +01:00
bb87654862 Fix slimeboots & slimesling (#63)
* Fix slimeboots & slimesling
* Use vec3 instead of Vector3d which isn't found on the server
* set entity.motionXYZ manually, as setVelocity is ClientOnly

* spotlessApply (#64)

Co-authored-by: Jason Mitchell <mitchej+github@gmail.com>
Co-authored-by: GitHub GTNH Actions <>

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-04 16:36:50 +01:00