Commit Graph
351 Commits
Author SHA1 Message Date
Dave Smith 045358436f Overhaul solar generation to be more realistic; helps with #46 2019-03-18 22:11:27 -06:00
pupnewfster 0018ac6548 Fix various Deprecated method calls 2019-03-17 21:30:36 -06:00
pupnewfster f65682a402 Added a few new constructors to OreGas to make creating them easier 2019-03-15 09:12:14 -06:00
Dave Smith e0b7ea62a4 The Great Reformat; moving to google-java-style w/ 4 space indent and 120 column line wrap 2019-03-09 22:47:13 -07:00
Dave Smith 95ca29fa19 Squashed commit of the following:
commit 0d4dc5991e572793134c0c1af8bb35db528071ad
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 19:25:28 2019 -0500

    IntelliJ inspections, Unused Import

commit c757d3236b6304b1d3295ad392b88677bccf3003
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 19:09:24 2019 -0500

    IntelliJ inspections, Constant conditions & exceptions

commit c63a821ef9fc705941052a876cc1ef950471912e
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 17:41:31 2019 -0500

    IntelliJ inspections, @NotNull/@Nullable problems

commit 506bbfd3241336082b17e5d47f8cec496666dcff
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 16:50:46 2019 -0500

    IntelliJ inspections, Unused label

commit bad10c2428346b5feb1816e4a78d7cc2bc1259f0
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:33:54 2019 -0500

    IntelliJ inspections, Unused assignment

commit bfe633afbfb6380d0f5ee2e8ab14f8981a455681
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:32:02 2019 -0500

    IntelliJ inspections, 'equals()' between objects of inconvertible types

commit 6d179f8639fad1a7c3fa01467c003a8fd309da09
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:29:28 2019 -0500

    IntelliJ inspections, Unused import

commit c21f1cfa5566308237dc8bddb8b79908e272a637
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:25:41 2019 -0500

    IntelliJ inspections, Unused import

commit e5d9e03af582c7315b057861b8f0019e46157dee
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:23:10 2019 -0500

    IntelliJ inspections, Redundant 'throws' clause

commit 1c589ba5740411a5595e9fda177696670bc7b7df
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:21:07 2019 -0500

    IntelliJ inspections, Static member referenced by instance variable

commit 6c17e9ca7fb22a0e285337133659e826f3bfdfee
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:20:02 2019 -0500

    IntelliJ inspections, Catch block may ignore exception

commit 42b3cd788ceb7d6ce657d582bbbd8345a2ec5676
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:16:29 2019 -0500

    IntelliJ inspections, Unnecessary label on 'break' statement

commit f6abc3c66f3aca147edb274720cdb94bff568b0b
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:15:29 2019 -0500

    IntelliJ inspections, Too weak variable type leads to unnecessary cast

commit 6356d1fea8d55907ae1c7b011223fbbc07236c1f
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:11:17 2019 -0500

    IntelliJ inspections, Redundant type cast

commit 559c1a2ff523fd7e23f3750d5c801af73876f1d0
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:04:45 2019 -0500

    IntelliJ inspections, Redundant type arguments

commit ae816ec2a79cf4c8fee776db651a54f68c1dacaa
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:01:27 2019 -0500

    IntelliJ inspections, Redundant Collection operation

commit 1da69b8baff922b98a32163c7d5f90aa77a6a8bc
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:00:55 2019 -0500

    IntelliJ inspections, Redundant array creation

commit 7e3ef81a3597c596d2206c93442e950ac9183de0
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:00:11 2019 -0500

    IntelliJ inspections, Condition is covered by further condition

commit f298bbb9f31ecbe935ef6cbf98b56951434a05f8
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:58:10 2019 -0500

    IntelliJ inspections, Redundant 'Collection.addAll()' call

commit ce715c5cd724c4dc71ff2cb53e5bc12f16289f12
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:56:56 2019 -0500

    IntelliJ inspections, 'Collection.toArray()' call style

commit 0bde4b0eb23ac5d8f40a410ed55315e4a422a30c
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:55:40 2019 -0500

    IntelliJ inspections, Calls to 'Arrays.asList()' with too few arguments

commit 6d06d11dcf9c077ed6b216a0bbd61434b10fc610
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:52:26 2019 -0500

    IntelliJ inspections, Pointless arithmetic expression

commit 6501d725af1eda5127489f77fd723396002b29b2
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:42:32 2019 -0500

    IntelliJ inspections, Anonymous type can be replaced with lambda

commit 85341ae5df9d63fb0ad7281c260c77d064adf0c2
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:41:40 2019 -0500

    IntelliJ inspections, Explicit type can be replaced with <>

commit 7e2feae7189b92cb513499aed113d4a2634622c6
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:38:47 2019 -0500

    IntelliJ inspections, Unnecessary 'null' check before method call

commit 2c75a38fe9a969f832cd5777f4fad81ef47d037b
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:37:33 2019 -0500

    IntelliJ inspections, 'switch' statement with too few branches

commit 2e2aff57f7910aef5a68f41a1918e2c8a98509ec
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:34:50 2019 -0500

    IntelliJ inspections, Simplifiable conditional statement

commit 243f6a975f8b3da5e70a5c1a116db2aedd10900e
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:33:09 2019 -0500

    IntelliJ inspections, Duplicate condition in 'if' statement

commit a80c67fc30b737990e7805a8741dce120232badc
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:32:17 2019 -0500

    IntelliJ inspections, Unnecessary semicolon

commit 5a7220ee574c9d38d71db07e4fa995a56fee1eed
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:31:58 2019 -0500

    IntelliJ inspections, Unnecessary enum/interface modifier

commit f3a66f4462033d2f446c2961a1ad8e9cfde3ed36
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:30:36 2019 -0500

    IntelliJ inspections, Unnecessary conversion to String

commit 1662540be864db4669cd80c8c46a9b35be202b62
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:29:33 2019 -0500

    IntelliJ inspections, C styled array declaration
2019-03-07 21:53:20 -07:00
pupnewfster a148f71358 Easier changing of gas colors 2019-03-07 12:10:39 -07:00
Dave Smith 9475b27785 Fix issue #4; when updating function calls for latest forge in 8d3f8df49c, API was inadvertently broken 2019-02-26 13:17:56 -07:00
Dave Smith 8d3f8df49c Updating to 14.23.5.2808; naming fixes where necessary 2019-02-24 12:21:48 -07:00
Thiakil 9b15e379b9 Complain to log if orphan transmitter clash & make sure Orphan pathfinder doesnt load chunks 2018-06-15 17:58:39 +08:00
Thiakil 2657f7b957 Clean up uncommitted transmitter network changes. Might fix networks failing! 2018-04-26 17:43:48 +08:00
Xander 1415288bcf fix String#toLowerCase() calls to toLowerCase(Locale.ROOT). Fixes #4957 2018-03-24 17:09:44 +08:00
Xander Victory 17ce49434f Relax Gas registry phase requirements so that BC integration works. Now just logs if it was registered without a valid texture entry. Fixes #4827 2017-11-27 09:23:34 +08:00
Xander 41727312bf use built in world method to check if block is loaded 2017-11-19 17:39:06 +08:00
aidancbrady 4ef4f8614d Cleanup, bump version to 9.4.2, bump MC version to 1.12.2 2017-11-16 12:34:04 -05:00
Aidan 09e8e9aed7 Merge pull request #4801 from thiakil/wrench-compat
Wrench compat
2017-11-16 12:11:48 -05:00
Aidan 801676b965 Merge pull request #4803 from thiakil/api-update
Api update
2017-11-16 12:10:57 -05:00
Aidan bed953f0f0 Merge branch '1.12' into nonnull-network 2017-11-16 12:09:46 -05:00
Xander 12a87b798a Missed GasTankInfo interface in commit 2017-11-11 12:09:13 +08:00
Xander Victory 8bbef9544c add default method to gas interface to maintain binary compat 2017-11-10 15:28:14 +08:00
Xander Victory a86539f1a0 add gas handler methods for retrieving the tank infos regardless of side. 2017-11-10 15:23:48 +08:00
Xander Victory cbe9cdc3f2 implement tinted ore gasses, fix GuiGauge to render the tinted gas 2017-11-09 12:08:41 +08:00
Xander 58c80cf150 fix localisation of colours in configurator mode changing 2017-11-08 21:58:25 +08:00
Xander Victory 532744f598 basic tint support for gasses 2017-11-08 16:59:45 +08:00
Xander Victory fdbeef9cb2 change late sprite getting to try the registered icon name 2017-11-08 15:30:53 +08:00
Xander Victory 2411a1be4d change ArrayList<Object> to a non null list implementation for network data 2017-11-08 15:08:51 +08:00
Xander Victory 2d9a02b29e null safety for silly mods that somehow register gasses after the texture stitch 2017-11-08 11:49:03 +08:00
Xander Victory 9d70d06454 check loader state instead of relying on boolean 2017-11-08 11:49:02 +08:00
Xander Victory f4bbb5b35c Ensure gasses are registered in preinit or init (prevent textures not being set) 2017-11-08 11:49:00 +08:00
Xander Victory 64b2e421f7 add recipe adding methods to the API, and a handler to get the internal class. 2017-11-08 11:48:59 +08:00
Xander Victory 26a28c13db add (String, ResourceLocation) constructor to Gas 2017-11-08 11:48:58 +08:00
Xander Victory f6f7678f8b add generic wrench handling to fully transparently support BC & COFH wrenches, and add a bonus IC2 wrench support. 2017-11-07 15:38:54 +08:00
Xander Victory 92829acef3 Complete merge 2017-09-29 08:08:44 -04:00
Xander 31a3482e40 fix another Pos3D variable scope issue 2017-09-02 11:01:15 +08:00
Tom Elfring 5dd3dbb8a9 Code cleanup
Redundent assignments
Wrong comparison of string with MRL
Unneeded reflection
Try with resources
Metallurgy compat deleted (was outcommented) not updated since MC 1.7.10
2017-08-06 13:38:32 +02:00
Tom Elfring 34e81bb65d Remove ~350 unsave casts 2017-08-05 19:48:12 +02:00
Tom Elfring 9fc52c6016 Fix some JavaDoc warnings 2017-08-05 18:32:20 +02:00
Tom Elfring babbe59cab Cleanup
Removed unused imports
Add/remove all methods used for arrays
Removed manual array copy
2017-08-05 18:12:45 +02:00
Tom Elfring b72d6efab3 Java 7 and 8 cleanup
Diamond operator <>
Lambdas and method references
2017-08-05 17:50:38 +02:00
Tom Elfring 6721909e84 Remove unused exceptions
Access static variables through class, not instances
Remove non-looping for loops
2017-08-05 13:46:11 +02:00
Tom Elfring 6576335f44 Remove unnecessary modifiers and semicolons 2017-08-05 13:30:20 +02:00
aidancbrady 8ed83b0e4f Merge branch '1.11' into 1.12
* 1.11:
  Fixed the horrible transmitter issue (spec: DynamicNetwork:215-218) Also, fixed client render update delay
  move zh_cn lang file back to thr correct place
  Update entity names
  Another cleanup
  Fix dev environment after adding SD compat
  Kill off some unused code
  Updated minor compat

Conflicts:
	build.gradle
2017-07-31 18:40:01 -07:00
aidancbrady 9801b12b62 Fixed the horrible transmitter issue (spec: DynamicNetwork:215-218)
Also, fixed client render update delay
2017-07-31 18:38:46 -07:00
Gunther De Wachter edf7a39c42 Fixed bug in Pos3D due to mappings update 2017-07-31 06:26:07 +02:00
Tom Elfring c6be298e87 Fix very stupid issue introduced by renaming 2017-06-26 20:22:01 +02:00
Tom Elfring 0a670c1e0b Merge upstream 2017-06-20 19:36:05 +02:00
Tom Elfring a13ce7910d Update mappings to 20170616 2017-06-16 20:26:39 +02:00
Xander Victory 8599224fca Fix some more null ItemStacks found with Idea 2017-06-13 14:38:49 +08:00
aidancbrady 69cad9dade Fixed box blacklist 2017-04-24 23:57:49 -04:00
aidancbrady b72740cffd Add comprehensive computer integration to Logistical Sorter 2017-04-24 10:44:31 -04:00
aidancbrady c9cbb405d4 More API fixes 2017-04-13 16:15:26 -04:00