Commit Graph
2637 Commits
Author SHA1 Message Date
Richard Freimer 1e5e853241 Disable some capabilities in missed spots (#5364)
* Don't expose item handler in spots there are never slots accessible.
Change Oredictionificator to be accessible on all sides except the front
2019-04-09 00:38:16 -04:00
Richard Freimer b82a74cb75 Port 8e7a313a2 fix missing texture warnings (#5365) 2019-04-09 00:10:15 -04:00
Richard Freimer 7e3cfb8d02 Port 5d205e725 put recipe values as an immutable list (#5366) 2019-04-09 00:10:08 -04:00
Richard Freimer ec7144b493 Port 8de559998 ensure some edge cases with GasTank stack having 0 amount can't happen (#5361) 2019-04-08 14:26:00 -06:00
Richard Freimer 29951ae7ca Ported metallurgy ore doubling and cyclic integration stuff (#5358) 2019-04-08 14:08:27 -06:00
Richard Freimer 4ea79c529c Port a7fbfff75 fix energy cubes missing the spinny cube on load/enter-area (#5359) 2019-04-08 13:19:13 -04:00
Richard Freimer a3ae18703b Port factory insertion (#5346)
* Port dfd5252cd and improve factory auto sort performance
* Fix comparing against wrong item causing being unable to insert into factory at all
* Only auto sort into a slot if the recipe output will stack with the current output
* Make factory slot insertion obey changes to checking output items as well
2019-04-08 10:59:29 -06:00
Thiakil 5c03e9c3d4 fix keybinding repeat flag, per https://github.com/mekanism-mod/Mekanism/commit/18784b9c91190e9b5d8594816ef15fd53d98f8ad#commitcomment-33070594 2019-04-08 18:46:43 +08:00
Thiakil 18784b9c91 Port of 41e1f52a7; remove assert closes #5208 2019-04-07 22:19:28 -06:00
Thiakil 6ae6495732 Port of fcbdb51c9; implement PlayerOrderedCallback so that player-specific tickets load properly 2019-04-07 22:11:31 -06:00
Dave Smith 9456b68529 Introduce bounds to search for sparkles! (#5343)
* Address c368692a3; create upper bound on number of blocks scanned and reduce memory utilization

* Final cleanup on sparkle overhaul; all multiblock structures should now sparkle in < 1ms on average

* Remove timing info; either enable sparkles or the message (not both)
2019-04-07 22:43:17 -04:00
Thiakil 6e3b3fcf56 Change thermal evap controller check to not recurse. Fixes #5334 2019-04-08 10:03:03 +08:00
Richard Freimer df67af26ac When creating fluids from gases set their alpha value to no transparency (#5353)
* When creating fluids from gases set their alpha value to no transparency
 Fixes https://github.com/mekanica/mekanica/issues/157

* Remove unneeded bitshifting
2019-04-07 19:16:53 -04:00
Aidan 17708ce587 Fix TransporterStack home locations & DM inventory interaction (#5335)
* Fix DM charge slot inventory interaction, fixed TransporterStack home paths

* Added clarification comment to JavaDoc for canBeCharged/Discharged
2019-04-07 19:16:25 -04:00
pupnewfster 7704846128 Port 25ca41e5e allow custom item matching in recipe inputs. closes #5241 closes https://github.com/mekanica/mekanica/issues/109 2019-04-07 10:30:47 -06:00
Richard Freimer 5a2a902366 Port 32b040353 and keep track of active modes via uuid's instead of names (#5348) 2019-04-06 10:38:55 -04:00
pupnewfster 41d4db1b4c Port d8fa091c5 dont do distance calculation when teleporting between dimensions 2019-04-05 18:14:14 -07:00
pupnewfster 5b0814e16b Port 486e5d451 clamp int for forge energy wrapper 2019-04-05 18:11:25 -07:00
Richard Freimer 0b060ead4b Box blacklist (#5345)
* Ported a bunch of cardboard box blacklist commits

* Added a couple wrapper methods to make it a little easier to read
2019-04-05 19:24:42 -04:00
Dave Smith 890bc954d4 Fix #5156; if protection is disabled, always return true on access checks (#5342) 2019-04-05 10:53:35 -04:00
pupnewfster 6a1657eaa6 Fix some desync in data between server and client active states of blocks 2019-04-04 11:23:40 -04:00
Dave Smith 32eccdec9c Rename all Mekanica -> Mekanism 2019-04-03 10:50:13 -07:00
Aidan 584a51e779 Merge pull request #150 from SadChimera/master
Obsidian dust added as crushing recipe, Fixed other bugs related to obsidian dust
2019-04-03 10:54:15 -04:00
aidancbrady 6a0f8e386d Fix #5329
Check against homeLocation when finding TransporterStack acceptors; also, don't allow inventory insertion/extraction of things in charge slot for Digital Miner
2019-04-02 20:16:11 -04:00
pupnewfster 97421bd7dd Fix dupe bug caused by the offset capabilities 2019-04-02 12:50:14 -07:00
pupnewfster ed9dedd39c Remove a lot of the unchecked cast warnings around capabilities 2019-04-02 12:50:14 -07:00
pupnewfster 66d0bca37c Remove usage of TUBE_CONNECTION_CAPABILITY, in favor of using toggleable capabilities 2019-04-02 12:50:14 -07:00
pupnewfster c9f4a90dba Allow bins to be accessed from all sides 2019-04-02 12:50:14 -07:00
pupnewfster 5cf9551123 Add some JavaDocs to the new Capability Interfaces 2019-04-02 12:50:14 -07:00
pupnewfster 8c102b85c2 Implement isItemValid check for BinItemHandler (only is true for slot 0)
Also have the custom interfaces extend ICapabilityProvider
2019-04-02 12:50:14 -07:00
pupnewfster cf8ef8ad5f Move configuration capability checking from CapabilityUtils to TileEntityComponentConfig 2019-04-02 12:50:14 -07:00
pupnewfster 5822c3ce69 Disable capability for a couple other tiles 2019-04-02 12:50:14 -07:00
pupnewfster 1f5353bd04 Obey the configuration tabs of various machines 2019-04-02 12:50:14 -07:00
pupnewfster b8ae59286e Better handling of if energy should be allowed to connect 2019-04-02 12:50:14 -07:00
pupnewfster b4adb6d5f8 Easier disabling of capabilities, and support for offset capabilities 2019-04-02 12:50:14 -07:00
Dave Smith cf8a92c302 Use per-stack IDs for batch deletes in network protocol (#141)
* Break out the ID from being stored in transporter stack (since they are shared)
* Mark needsSync as private; update comments and cleanup delete loop
* Fix broken packet, and remove the overlap between needsSync and deletes. Also minorly deduped some code
* Turns out needSync for entityEntering is needed (as it is nextID not same ID)
2019-04-02 12:35:45 -07:00
Austin d5f41f731c Remove obsidian crushing recipe, up enrichment recipe of obsidian from 2 dust to 4.
Removed previously added crushing recipe for obsidian

Changed the obsidian dust output from 2 to 4 in the enrichment chamber.

Fixed a mistakenly edited like at 274 from previous commit.
2019-04-02 12:35:07 -05:00
Austin e4b70fa0e3 dustObsidian added as crushing recipe
Crushing machines now output 4 obsidian dust from 1 obsidian.

Fixed bug that made refined obsidian output regular obsidian dust when crushed.

Obsidian still gets caught in the ore batching that we use in order to provide recipes for the enrichment chamber. Will need to address this at a later date.
2019-04-02 04:47:01 -05:00
Richard Freimer cbd2aab888 Fixes IC2 complaining about unregistering without registering fixes #146 (#147) 2019-04-01 09:59:29 -06:00
aidancbrady ccaa88a622 Touchups 2019-04-01 02:12:41 -04:00
aidancbrady bbb9cf6884 Merge branch 'master' into inv-touchups
* master:
  Only do multiblock form message/particles if within 10 blocks of the multiblock
  fix #143
  Fix being unable to connect logistical transporters to top of Bins
2019-04-01 01:58:45 -04:00
pupnewfster 334e9a47f2 Merge remote-tracking branch 'origin/master' 2019-03-31 01:05:49 -04:00
pupnewfster 9be9834db1 Only do multiblock form message/particles if within 10 blocks of the multiblock 2019-03-31 01:05:22 -04:00
aidancbrady 308d5f5510 fix #143 2019-03-30 16:47:49 -04:00
pupnewfster d7a0afdc60 Fix being unable to connect logistical transporters to top of Bins 2019-03-29 19:55:21 -04:00
aidancbrady 2ed0028a93 Utility method for throwing IItemHandler exceptions 2019-03-29 16:25:55 -04:00
aidancbrady 0574e98f13 properly add items to InvStack 2019-03-29 15:55:36 -04:00
aidancbrady c07ecda4de warning fixes, cleanups 2019-03-29 15:46:43 -04:00
aidancbrady 2e16622b84 Overhaul InvStack to be more efficient, better designed and thoroughly documented. Also, add in sanity checks to IItemHandler wraps so we can fix any potential issues. 2019-03-29 15:22:29 -04:00
Richard Freimer 8c276b6b1a IInventory automation removal (#132)
* Start killing off IInventory
* Write a couple TODO's of things that should eventually use IItemHandler
* Remove unused variable, and add back special case handling for bins
* Update some of the implementations of getSlotsForFace
https://github.com/mekanism-mod/Mekanism/commit/11e9e2df7a2f2b053fcb9371bf496f7aa88a04cd
* Cleanup a bit of implementation around items being valid for a slot
2019-03-29 10:32:11 -06:00