Commit Graph
2571 Commits
Author SHA1 Message Date
Richard Freimer 5a67067f07 Update config to include comments (#108)
* Add comments to configs
* Removed unused options
* Added a few of the newer options mainline Mekanism supports
* Also list the default values in the MekanismConfig class for easier comparision
* Change spacing slightly for tools config in code
* Add some of the missing generator config comments
* Config comments for tiers, and add missing comment for MinerSilkMultiplier
* Config comments for rest of generators module
* Fix which stick to sawdust recipe
* Config comments for tools
* Config comments for armor
* Add warning to DM radius comment, and fix a couple things addressed in PR comments
2019-03-24 14:40:28 -06:00
pupnewfster 1b6cfd37e9 Address comments on PR 2019-03-24 14:26:33 -06:00
pupnewfster 1a05fc9680 Implement isItemValidForSlot for ItemHandlers and obey it for inserting 2019-03-24 14:26:33 -06:00
pupnewfster 83d0c81151 Fixes incomplete IItemHandler impl of lots of tile entities closes #102 2019-03-24 14:26:33 -06:00
pupnewfster b55fb42453 Fix some tiles outputting gas to the wrong side 2019-03-23 23:27:07 -04:00
Dave Smith 59f4438fb2 Fix #101; Unidict has a strong dependence on a more specific type 2019-03-23 09:29:25 -06:00
pupnewfster f4ab343dab Add support for adding recipes via Compound Ingredients/OreDict
Note: This just automatically adds all the entries for now, rather than requiring you to loop over it yourself.
2019-03-22 19:13:59 -04:00
pupnewfster bfe38cc33a Fix potential null pointer closes #96 2019-03-22 11:12:35 -04:00
pupnewfster 6a7fbfc2f5 Fix location of Digital Miner and Laser Fake Players, for BlockBreakEvent
Closes #98
2019-03-22 11:05:11 -04:00
Dave Smith 8bb52cc1b4 Change lang key to use requested key 2019-03-21 14:50:56 -06:00
temp1011 172bbff10a add config to stop particles spawning on multiblock formation (#61)
* add config to stop particles spawning on multiblock formation, resolves #49
* add action bar message when multiblock formed
2019-03-21 14:50:40 -06:00
Dave Smith 19fcb31aab Use isBurning instead of isActive to play sound 2019-03-21 14:39:15 -06:00
Dave Smith a2b2cb4a95 Cleanup solars UI 2019-03-21 14:25:13 -06:00
pupnewfster 610254c5d1 Fix using wrong recipe category string in places, and broken IMC 2019-03-21 14:23:22 -06:00
pupnewfster e34e92a344 Promote RecipeHandler.Recipe to a generic class 2019-03-21 14:23:22 -06:00
Dave Smith 66d218a59f Fix #85; make sound so that it keeps running at least 10 ticks after machine stops to better deal with per-tick flipflops. Also revert ccd7ed0; UX got too weird. 2019-03-21 11:51:36 -06:00
pupnewfster ad6007a45b Prioritize IItemHandler over IInventory as it is the newer standard 2019-03-21 11:54:25 -04:00
pupnewfster 21017efc68 Don't reference main class from API package
https://github.com/mekanism-mod/Mekanism/commit/7c50d1e7cc3dd915979304b46e77a36068ac457d
2019-03-21 10:53:28 -04:00
Dave Smith 99b67d9c3c Remove unnecessary logic from Laser 2019-03-20 16:03:02 -06:00
Dave Smith 7b71328336 Use accessor for getActive 2019-03-20 16:03:02 -06:00
Dave Smith 7813d39fa6 Remove activity tracking in favor of logic in TileEntityEffectsBlock 2019-03-20 16:03:02 -06:00
Dave Smith ebfe103953 Move activity/lighting update tracking up into TileEntityEffects block 2019-03-20 16:03:02 -06:00
Dave Smith 38a007e29d Rename noisy block -> effect block; move activity/block update logic into it 2019-03-20 16:03:02 -06:00
pupnewfster d7c1a0ced8 Minor cleaning 2019-03-20 15:59:34 -06:00
pupnewfster 7c6441a411 Cleanup background handling of JEI categories 2019-03-20 15:59:34 -06:00
pupnewfster 790ce78668 No need to store the temp recipe 2019-03-20 15:59:34 -06:00
pupnewfster 1c592ec3fa Cleanup some JEI gui code 2019-03-20 15:59:34 -06:00
pupnewfster a446777f3a Cleanup JEI registration 2019-03-20 15:59:34 -06:00
pupnewfster 4b54adc5e5 More closely mirror comparator calculations of fluid tank and gas tank 2019-03-20 15:50:33 -06:00
Dave Smith a4e453e7d5 Fix #53; add support for comparators on bins 2019-03-20 15:50:33 -06:00
Dave Smith ccd7ed019a Fix #72; turns out the sound handling in SP has race conditions 2019-03-20 09:24:20 -06:00
Dave Smith 0f1f4a4b0a Make sure to reset color when rendering fusion reactor 2019-03-19 17:31:31 -06:00
pupnewfster a9451270d3 Reference correct gui superclass. Fixes error in compiling 2019-03-19 19:12:05 -04:00
Richard Freimer cd5fe2040b Gui cleanup (#74)
* Update dependencies for dev environment to have latest versions
* Fix depreated method usage for JEI
* Add Deprecated annotation to methods overriding a deprecated method
* Fix various Deprecated method calls
* Slightly clean up gui code based on IntelliJ inspections
* Remove some unused variables/calculations from the gui code
* Remove some unused variables/calculations from the generator gui code
* Create a bit of hierarchy for Gui's that keep track of TileEntities
* Cleanup Gui Element having majority of variables as public
* Cleanup some duplicate math
* Store tile entity type in a less duplicated manner
* Cleanup Gui ResourceLocation handling. Makes it easier to read the code
* Switch adding to a method
* Switch remaining GUI variables to private/protected
* Partially cleanup Gui Filter code
* Cleanup some of the Chemical Gui Code
* Fix missing a few files in last commit
* Improve handling of Tile Entities in GUIs
2019-03-19 16:10:57 -06:00
Dave Smith 56831edb3e Rework rotors to only track their own number of blades, thus avoiding n^2 packet updates on chunk load, multiblock formation and neighbor block changes 2019-03-19 16:09:56 -06:00
Dave Smith 04a4cdf364 Remove IChunkLoadHandler interface 2019-03-19 16:09:56 -06:00
Dave Smith 784c63dff0 Remove scanning of every TE on chunk load; only turbine rotors needed it. 2019-03-19 16:09:56 -06:00
pupnewfster 16d6923c35 Fix crash with bucketmode for fluid tanks. 2019-03-19 13:33:06 -04:00
Dave Smith b28eb1e0c5 Use getSunBrightnessFactor, not getSunBrightness :/ 2019-03-19 00:12:03 -06:00
Dave Smith 3fd75404e4 Overhaul solar neutron activator to use better sun/rain detection. Reduce network traffic by 50% by ensuring we only send updates every second 2019-03-18 22:11:27 -06:00
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 e3c182eebe Add Deprecated annotation to methods overriding a deprecated method 2019-03-17 21:30:36 -06:00
pupnewfster 10e741ade5 Fix depreated method usage for JEI 2019-03-17 21:30:36 -06:00
pupnewfster 3d73604315 Cleanup some code in case something gives null fluid stacks 2019-03-17 18:27:42 -06:00
Dave Smith 39424224a2 Honor client.enableMachineSounds to address https://github.com/NillerMedDild/Enigmatica2Expert/issues/983 2019-03-17 16:25:09 -06:00
pupnewfster ae2619c12d Minor cleanup 2019-03-17 15:41:21 -06:00
pupnewfster 7257e2e8b7 Remove dependence on MTLib for CraftTweaker Integration 2019-03-17 15:41:21 -06:00
pupnewfster db1e5b96de Sort tile entity registration by name 2019-03-17 15:37:50 -06:00
pupnewfster 7ee510dacd Fixed TE registration
Based off of https://github.com/aidancbrady/Mekanism/commit/5f676335f091b6355556e66b7e41bf4d8babcd0a
2019-03-17 15:37:50 -06:00