DarkStarDS9 8a54668e45 Different Item-Place-Logic
this fixes CrazyPants/EnderIO/#1648

the original way caused problems with items that relied on
player.inventory.currentItem, like cables from AE2 - they would set the
.currentItem-Stack to null when you placed the last cable, which in our
case would kill the pick.

Also, we’re now using the bult-in “can we place the item there?” logic
and can therefore remove canPlaceBlockOnRightClick.

It’s still not perfect though, because it doesn’t work with buckets…
see the source-code-comments. A possible solution would be to implement
a custom message that we send to ourself to switch back to the original
item slot, but I’ll just go with “you’re holding the bucket wrong”.
2015-01-16 10:21:17 +01:00
2014-08-19 17:30:35 -05:00
2015-01-16 10:21:17 +01:00
2014-12-30 15:24:40 -05:00
2014-02-28 01:21:33 +08:00
2015-01-12 23:10:55 -05:00
2014-05-08 22:37:06 +08:00
2014-02-24 19:58:43 +08:00
2013-08-11 22:39:47 -07:00
2014-12-19 03:16:03 -05:00
2014-08-19 17:30:35 -05:00

EnderIO Build Status

All code (excluding the buindled APIs from other mods, which are covered by their respecitive licenses) are released without restriction into the public domain under the CC0 1.0 liscence (http://creativecommons.org/publicdomain/zero/1.0/legalcode) FAQ (https://wiki.creativecommons.org/CC0_FAQ). Do what you want with it, as long as you smile while doing so. While it is not a requirement, it would be nice to know if it is being used and how, so send me hello to crazypants.mc at gmail.com.

###Sound Credits

Most sound attributed under Creative Commons Attribution 3.0 Unported (CC BY 3.0)

Credits:

S
Description
No description provided
Readme Unlicense
41 MiB
0 Stars 1 Watchers 0 Forks
Languages
Java 100%