Mecblader Posted October 11, 2014 Share Posted October 11, 2014 Hello, I have made an item that has its own custom inventory. I have everything working fine, but I would like to prevent the player from moving or removing the item from their inventory because of saving problems. All help is appreciated, Thank You! Quote Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid! Link to comment Share on other sites More sharing options...
Mecblader Posted October 11, 2014 Author Share Posted October 11, 2014 I did that but I still have a problem with the player hitting the number keys to move the item from the slot on the hot bar to the inv. Quote Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid! Link to comment Share on other sites More sharing options...
Mecblader Posted October 11, 2014 Author Share Posted October 11, 2014 Can someone help, I still have a bug. I have it working now almost perfectly, but I have a problem with the player being able to move the item while it is being used. I made the change that diesieben07 suggested and it mostly worked, but if the player hovers over a vacant slot in their inventory and presses the number keys, 1-9, then the slot can be removed from the hot bar and into the inventory, where the player is able to move it freely, which may cause issues with saving. Quote Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid! Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.