Commit Graph
15 Commits
Author SHA1 Message Date
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
pupnewfster ad6007a45b Prioritize IItemHandler over IInventory as it is the newer standard 2019-03-21 11:54:25 -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
Tom Elfring b72d6efab3 Java 7 and 8 cleanup
Diamond operator <>
Lambdas and method references
2017-08-05 17:50:38 +02:00
Tom Elfring 768019c03f Fix logistical sorter handling with less than full stacks.
Fixes #4527
2017-07-16 20:12:48 +02:00
aidancbrady 21c49c1643 Advanced item handing, adding inventory-searching to basic item ejection- no longer will items get jammed
Also, fixed transmitter tooltips
2017-04-28 14:54:26 -04:00
aidancbrady ccb342ead7 Fixed inventory pull overshooting 2017-04-20 20:14:59 -04:00
aidancbrady b97b7184c1 Completely refactor inventory management to allow IItemHandler support. Likely many bugs to fix, but it's a start 2017-04-19 16:16:09 -04:00
aidancbrady 01ab160ff9 Transition from null stacks to ItemStack.EMPTY 2017-03-29 01:08:36 -04:00
aidancbrady fa7b9b49bc Fix glow panel placement, fixed damage displays (again), start work on new inventory system 2017-03-28 23:21:06 -04:00
aidancbrady 6a42eb64e3 Update to 1.11.2. Untested, still using outdated MCMP 2017-03-25 20:35:26 -04:00
Aidan C. Brady 275c7840cc Reorganized package structure to separate content from base code 2014-08-20 15:22:55 -04:00