Hi, I'm tinkering around with modding, and I've run into an issue that I can't figure out, despite quite a lot of searching.
I have a block (gem grinder), that has a tile entity, and a container and gui, and this all seems to work fine. I added a button, and can read when it's clicked. The problem is, I want it to remove a diamond from the top slot (0), and then put a new item (diamond dust) into the bottom slot. This *looks* like it works, but as soon as i touch any of the items, it all reverts back to the original configuration. I'm sure this is some sort of client/server sync issue, but I thought because I had a container, I didn't have to worry so much about that. Any pointers in the right direction would help. Also, first post, so I apologize if I am missing any important information, or breaching any etiquette. Thank you for your time!
Gem Grinder Block: https://github.com/Ugdhar/funextras/blob/master/src/java/ugdhar/funextras/blocks/BlockGemGrinder.java
Tile Entity: https://github.com/Ugdhar/funextras/blob/master/src/java/ugdhar/funextras/tileentity/TileEntityGemGrinder.java
Container: https://github.com/Ugdhar/funextras/blob/master/src/java/ugdhar/funextras/inventory/ContainerGemGrinder.java
Gui: https://github.com/Ugdhar/funextras/blob/master/src/java/ugdhar/funextras/client/gui/GuiGemGrinder.java
GuiHandler: https://github.com/Ugdhar/funextras/blob/master/src/java/ugdhar/funextras/client/gui/ModGuiHandler.java