Commit Graph
3138 Commits
Author SHA1 Message Date
JonMaker050 883a73632c Create es_ES.lang
Inicio traducción a Español Castellano /  translation to spanish Build v0.1
2019-04-03 15:30:27 +02: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
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
Aidan 934788e0e7 Transit request overhaul (#135)
* Fix a pretty glaring issue in Pos3D equality checks
* TransitRequest/TransitResponse overhaul. Items can now be pulled from multiple slots at once by Logistical Transporter and Logistical Sorter. getTopStacks() is now buildInventoryMap() and is more comprehensive of a total inventory. Note this is entirely untested and may have some issues to work out!
* Cache hash code of HashedItem
* Remove ISidedInventory/IInventory implementations
2019-03-29 08:00:18 -06:00
Dave Smith 987894c63f Reduce idle tick time on DigitalMiner by removing constant refreshing of chunk set 2019-03-28 11:01:58 -06:00
Dave Smith cd52564ef7 Keep trying to send stacks even if one won't fit. 2019-03-27 22:36:01 -06:00
Dave Smith ac371dec01 Logistical Transporter Performance Work (#116)
Introduce a "BATCH" packet that includes all changes for a single tile in one message. Also, removed need for separate sync when a TransporterStack moves from one tile to another. Cumulatively, these changes reduced bandwidth on a busy server from 20Mb/user/sec -> 3 Mb/user/sec.
2019-03-27 22:13:18 -06:00
Dave Smith f6933b662b Overhaul how logistics networks estimate what can fit in the network (#124)
This completely changes the prediction logic when items are inserted into a network. In our testing it works well for every mod, with the occasional issue from Storage Drawers. Their interface for IItemHandler is a little odd and causes problems when they get very full and the network is slow.

* Completely overhaul how prediction of paths is done; use IItemHandler's exclusively
* Add exponential backoff when pulling items, up to 40 ticks
* Cache getSlotLimit; add TODO for investigating why we have a for loop
* Do proper simulation insert when dest slot is empty
* Add better handling of new stacks and break loop once stack is fully used up
2019-03-27 20:18:40 -06:00
temp1011 81c74e1311 Cleaned up some repeated bulk in models (#107)
* clean up and simplify fluid tank model

* merge gas tank models (creative gas tank texture is now more consistent too)

* simplify laser blocks (need to check orientation)

* add missing textures

* dedupe logistical sorter texture

* reduce size of obsidian tnt texture

* fix formatting

* fix up inconsistent sides

* fix more formatting

* make the creative valve texture a bit better
2019-03-27 19:43:46 -04:00
temp1011 ff9c32ff6b cleanup stackutils (#127)
* second round of cleanup

* hash stacks in a better way (cherry picked from https://github.com/mekanism-mod/Mekanism/commit/54e80b305726204ffb620d3518f66539a0d7e937)

* add some comments

* rename method for clarity

* don't crash on null registry name
2019-03-27 17:08:36 -04:00
temp1011 3b35315d0c replace custom string wrapping with vanilla method (#128) 2019-03-27 16:37:46 -04:00
temp1011 020c85cabc reformat json files to be more readable (#120) 2019-03-27 15:12:22 -04:00
Aidan 426ac05e6b Merge pull request #126 from mekanica/dss-remaster-sounds
Remaster sounds
2019-03-26 23:21:12 -05:00
Dave Smith a392514e16 Remaster sounds to all be -30dBFS; remove per-object sound volume; honor config setting for volume adjustment 2019-03-26 21:48:04 -06:00
temp1011 b511470778 remove unused imports 2019-03-26 14:57:31 +00:00
temp1011 224d89a7a5 make sure recipeUtils works for all crafting grids 2019-03-26 14:54:10 +00:00
temp1011 392b7c2ea0 remove and inline methods 2019-03-26 14:50:30 +00:00
pupnewfster 9fefd1b41f Add missing config comment for ChemicalDissolutionChamberUsage 2019-03-24 20:19:18 -04:00
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
temp1011 2a5ee6c5c6 remove space 2019-03-23 10:31:35 -06:00
temp1011 ce8ae9fad0 fix untextured break particles on some bins 2019-03-23 10:31:35 -06: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