ToMe25
20b612bae9
BlockBasic Property changes ( #5484 )
...
* Make most BasicBlocks Opaque
* Fix some Opacity Stuff
* Changed Osmium Block, Bronze Block, Steel Block and Block Basic Standard Resistance
* Changed Osmium Block Hardness
2019-06-09 20:17:21 +08:00
pupnewfster
b4572a2023
Add support for adding/removing item to gas conversions via crafttweaker
...
also run formatter to fix spacing/ensure import order is correct
2019-05-20 13:21:42 -04:00
ToMe25
d6bca945fe
Make Refined Obsidian usable for Nether Portals ( #5479 )
...
* Make Refined Obsidian usable for Nether Portals
* Fix spacing changes
* Remove some duplicate code
* Fix a small param passing error
2019-05-20 10:07:52 -04:00
Richard Freimer
2809912037
Induction matrix optimization ( #5462 )
...
* Initial work improving performance of Induction Matrix
* Have the MatrixData handle more things internally
* Internalize more logic in MatrixData
* Cleanup readability of two methods
* Initial work at queueing energy addition/removal to the matrix. Allows for only reading/writing to the cells once per tick instead of potentially multiple times.
* Streamline the energy queuing, add some comments about it, and fix some backwards logic
* Improvements to bounds by allowing passing the simulation variable
Makes the code cleaner to read
* Better handling if something passes a negative value to add/remove
* Cleanup UpdateProtocol loopThrough method
* Minor cleanup/spacing of UpdateProtocol. Also save queued matrix energy when structure gets destroyed.
* Minor cleanup/spacing of various update protocols to improve readability
* Minorly improve readability of TileEntityMultiblock
* Remove some TODO's as it already properly handles removing/adding cells
* Fix creative energy cube output limit
* Fix having added extra parenthesis in merge
* Add basic comparator support for Induction Port
* Cleanup the variables slightly
2019-05-20 10:03:10 -04:00
Richard Freimer
c8d2fbbac8
Add comparator support for a large number of blocks ( #5474 )
...
* Add comparator support to a lot of various blocks. Closes #5447
* Add comparator support for various generator blocks
* Cleanup some old calculations not using the new utils method
2019-05-13 15:50:02 -04:00
Richard Freimer
80b07bc4b3
Code cleanup ( #5468 )
...
* remove direct guava predicates from BlockStateMachine
* cleanup blockstatebasic
* fix a large number of e.printStacktrace calls, narrow ComputerIntegration exception signature
* fix simple todos, remove invalid todos, unify some duplicate rendering code
* use a generic method to get around unchecked warning
* remove some redundant uses of hasCapability
* experimental OptionalCapability class. not in use yet
* nullable checks/annotations & remove duplicate field controlType in factory TE
* Inline various redundant variables
* Remove unused list
* Cleanup BlockStateGenerator
* Replace string constants with pointers to the proper mod id constant
* As 9.7.5 breaks backwards compat API wise for the DynamicNetwork this is as good a time as any to remove this deprecated method
* Use two argument constructor instead of appending a ':' inbetween
* Convert other BlockState type classes to using suppliers for tile entity creation
2019-05-13 11:43:42 -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
Dave Smith
a4e453e7d5
Fix #53 ; add support for comparators on bins
2019-03-20 15:50:33 -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
Xander
1415288bcf
fix String#toLowerCase() calls to toLowerCase(Locale.ROOT). Fixes #4957
2018-03-24 17:09:44 +08:00
Xander Victory
3fc741ee19
return user-friendly error name when basic block invalid, and add log message with values.
...
(cherry picked from commit 2f7bf80350377a1c9631c9eaca8b1839c99b67cf)
2017-10-03 09:23:48 +08:00
Xander Victory
589346011d
sanity check the enum index calculation value before attempting to use it
...
(cherry picked from commit cb0f0086b9a70d457ff7bdc1e07451996c185e02)
2017-10-03 09:23:40 +08:00
Xander Victory
8446e1e1b4
null handling for BasicBlockType.get
...
(cherry picked from commit 37576936e187e9ba347538bed1cc35765b226c5f)
2017-10-03 09:23:35 +08:00
Tom Elfring
6576335f44
Remove unnecessary modifiers and semicolons
2017-08-05 13:30:20 +02:00
Tom Elfring
83f06d6ba2
Fix active block states.
...
Allowed Thermal Evaporation Controller and Induction Port to have active states.
Allowed Reactor Controller and Reactor Port to have active states.
Disallowed Reactor Focus Matrix to have active states.
Fix issue with Reactor Glass and Reactor Laser Matrix should side render.
2017-07-30 16:18:10 +02:00
Tom Elfring
5d8cf6afc2
Allow texture rotation of Thermal Evap. Controller
2017-07-30 14:30:44 +02:00
Tom Elfring
122d3d86e0
Move CTM from internal code to CTM-mod.
...
Currently WIP as not everything is working as before.
2017-07-20 14:11:48 +02:00
jmongeon
ab7df16e3a
Allow metal blocks, refined glowstone blocks, and refined obsidian blocks to be used for beacons.
2016-08-11 15:52:06 -04:00
aidancbrady
5a573b7d44
Creative Bins? Creative Bins.
2016-08-10 14:37:45 -04:00
aidancbrady
3983cc858b
Begin the great port. 2378 errors to go!
2016-05-24 20:04:40 -04:00
aidancbrady
ac7f2f9783
Remove unused commands in .obj and .mtl files, remove Electric Pump and Fluidic Plenisher TESRs
2016-05-19 00:22:20 -04:00
aidancbrady
3b0bcc1e01
More generators work, still working out those errors
2016-05-12 23:16:09 -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
aidancbrady
730ee4e450
Loads and loads of render work. I can see the light at the end of the tunnel
...
- Finished CTM
- BasicBlock item rendering
- Balloon item rendering
- Plastic Fence item rendering
- Started work on Portable Tank fluid item rendering
- Fixed Obsidian TNT and Bin rendering
2016-05-10 15:38:12 -04:00
aidancbrady
98c57960d1
Got more CTM stuff rendering
2016-05-10 00:12:01 -04:00
aidancbrady
d8760b842f
CTM work
2016-05-09 23:23:05 -04:00
aidancbrady
3b75d9ff1e
Loads of work on CTM, work on fixing multi blocks
2016-05-09 00:10:54 -04:00
aidancbrady
251ab596f5
CTM work
2016-05-06 10:03:56 -04:00
aidancbrady
c7e54f8d28
Minor rendering updates
2016-05-02 16:39:38 -04:00
Ben Spiers
fc7fa7492e
More models
2016-04-29 16:42:29 +01:00
Ben Spiers
8e3d08dfd3
Some rough model improvements (tiers not done)
2016-04-29 00:36:29 +01:00
Ben Spiers
8064beb0fc
Fix compile errors from merge
2016-04-25 17:47:54 +01:00
Ben Spiers
5432e42bbc
Merge branch 'v9' into 1.8.9
2016-02-18 19:48:52 +00:00
Ben Spiers
fce32c8820
Merge branch 'v9' into 1.8.9
...
That was fun.
2016-02-10 00:47:27 +00:00
Ben Spiers
7b4fefeb60
Fix some of the things that were broken, add more type-specs.
2016-02-08 22:46:06 +00:00
Ben Spiers
dd99f582af
State & Render stuffs, get the MInfuser rendering again.
...
Still no textures. WIP.
2016-01-27 01:36:39 +00:00