Inventories and slot GUIs for entities

Status
Fixed
Issue description

The workspace is all set up and only uses the elements for the trading mechanics.

The procedure does work however when you go to take the golden carrots out of the output slot it rolls them back to the items in the input slot.

This can be avoided however if you shift-click the golden carrots in the output slot which will add it to the player's inventory.

If at that point you click on the golden carrots while the inventory is still open it will also roll it back to the regular carrots in slot 0.

If you close the GUI you then have made a proper trade.

I am not sure if it's just the way the procedure is set up or if in fact its a bug, however if it works properly still I would think that it may be a bug with GUI slots.

something to look into, hope this helps, and I am looking forward to making a tutorial for this system in the future ;)

PS:
The villager skin is from 1.14 it looks so odd in 1.12 I did not think that it would look like he's wearing shorts, it's kinda funny. A villager on vacation, bring tourism to Minecraft.

Issue comments

This is because this GUI is not bound to any stored inventory. Currently, only GUIs bound to blocks will work 100% properly.

I will change this to a feature request to support GUI binding to entities.

The workspace is all set up and only uses the elements for the trading mechanics.

The procedure does work however when you go to take the golden carrots out of the output slot it rolls them back to the items in the input slot.

This problem will be fixed in 2020.2, but enabling actual inventory on entities still remains open issue, so does this ticket :)

I hope this is added soon, so things like boats with chests are possible, or new type of creature that can carry stuff, and many more! (Also it would be nice to have it compatible with rideable mobs)

This is amazing, but I wonder if we'll be able to do that to a rideable custom entity without mounting it (like the donkey with chest). 

Practical example: I'd love to implement a trunk in my car and being able to open it without getting inside the car.

so if i understand right, we cant bind GUI inventory to Entities on 2020.3 right? it will come later correct?