Commit Graph
25 Commits
Author SHA1 Message Date
pupnewfster e3fbf55d34 Inline getBlocksTexture 2019-07-08 11:46:20 -04:00
pupnewfster 72366473e5 Use helper wrapper methods for most usages of translate 2019-07-08 11:45:23 -04:00
pupnewfster 7998d44288 MekanismRenderer.glowOn to MekanismRenderHelper.enableGlow 2019-07-08 11:45:21 -04:00
pupnewfster ef87190dd5 MekanismRenderer.blendOn to MekanismRenderHelper.enableBlendPreset 2019-07-08 11:45:20 -04:00
pupnewfster d687abd75e Convert remaining color calls 2019-07-08 11:45:18 -04:00
pupnewfster cc2b6ee50f Start transitioning some of the color calls to MekanismRenderHelper 2019-07-08 11:45:17 -04:00
pupnewfster b79806ffcc Use MekanismRenderHelper for MekanismRenderer#blendOn 2019-07-08 11:45:17 -04:00
pupnewfster 824f9c13e7 Initial transition to new MekanismRenderHelper 2019-07-08 11:45:17 -04:00
pupnewfster de1bd30f38 Replace GL11 with GlStateManager, good bit of testing still needed 2019-07-08 11:45:10 -04:00
Richard Freimer 0d4b50908f Formatting and code readability cleanup (#5467)
* First pass reformatting code to be more readable (common still not done)

* Replace google common collect calls with Java calls where possible

* Remove a bunch of unnecessary parenthesis leaving clarifying ones

* Add some missing @Nonnull annotations

* Fix checking wrong type

* Remove unnecessary continue/return statements and simplify comparision check

* Pass exception instead of directly printing stack trace

* Work on cleaning up common, through config so far

* Work on cleaning up common, through integration so far

* Work on cleaning up common, through network so far

* Work on cleaning up common, through tier so far

* Remove empty constructors that get created by default anyways

* Work on cleaning up common, through transmitters so far

* Work on cleaning up common, through utils so far

* Finish cleaning up spacing for common
2019-05-11 14:13:24 -04:00
Richard Freimer 9d98ef575d Port config rewrite (#5378)
Port Config system, Remove some unused code, Refactored various Tier enums out into their own package
2019-04-11 07:18:59 +08:00
Richard Freimer a1e0688af8 Make many more Mekanism fluid renderers Stack aware for NBT purposes (#5360)
* Port 72251446f make many more Mekanism fluid renderers Stack aware for NBT purposes

* Make it a bit easier to see osmium in the compressor

* fix a missed stack color get

* move osmium gas colour back to a more vibrant blue for contrast reasons
2019-04-10 10:12:45 -04: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
Thiakil 1d1d9c9573 Use a singleton for RenderFluidTask test so mods like ProjectRed can't screw with it. Fixes #5067 2018-05-31 17:10:44 +08: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 678581f440 Update Forge, fix NBT recipes, added recipe generator 2017-06-25 13:39:38 +02:00
Tom Elfring a13ce7910d Update mappings to 20170616 2017-06-16 20:26:39 +02:00
Tom Elfring 2eabbe4b38 First pass 1.12 port 2017-06-15 15:01:45 +02:00
aidancbrady 3b07db3dc0 Fixed Mechanical Pipe crash, fixed Induction Cell issue, added Creative Fluid Tank and removed prefilled tanks 2016-08-07 19:58:45 -04:00
aidancbrady a89b8f666c <200 errors. All I have left is a bit of rendering work and the new "off hand" stuff 2016-05-25 17:30:22 -04:00
aidancbrady 374cc57515 Use new GlStateManager methods, got armor models to render (though the transformations seriously need to be updated) 2016-05-10 22:24:37 -04:00
aidancbrady a1100dd47a More render work!
- Added BuildCraft impl to render Model3D
- Got Gas and Fluid icons working properly
- Fixed CTM crash
- Fixed Flamethrower flame rotation issue
- Fluid Tank now renders inner fluid
- Fix some texture errors
2016-05-10 19:37:00 -04:00
Ben Spiers 84336ec4d1 Merge branch 'development' into 1.8.9
Huge merge with 202 conflicts, hopefully not *too* broken.
2016-03-18 04:24:19 +00:00
aidancbrady f09010a927 Many more fixes 2016-02-28 19:11:43 -05:00
aidancbrady 3c1496740c Tiered Gas Tanks and tiered Fluid Tanks! 2016-02-24 17:01:43 -05:00