Posted July 25, 201312 yr Hello, I am currently working on my first container and I was wondering how I can set the Output slot unaccessible for the player to put Items in. I already managed to block the shift clicking ability for this slot but I am still able to drag the Item in there. I tried to look at the Furnaces tileentity but it is to complicated to find what I need. Please Help Busti PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.
July 25, 201312 yr to complicated ... you need to make a class extending Slot, from there you can prevent item to be placed in the slot (you can also filter to accept only certain item) how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
July 25, 201312 yr Author Ok, but how can I set the given slot unaccessible in there? PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.
July 25, 201312 yr i dont recall the exact name, but just override the method names "isItemValidForSlot" or something similar you can jsut return false and nothing will be placable there how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
July 25, 201312 yr Author I got it... Thanks PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.
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.