Posted May 15, 20205 yr Hello, as the title says i need an guidance how to make any items them unstealable , to be clearer i want to prevent them from being taken out of their slot. I just need basid guidance because i cannot think of anything. In of course custom inventory. This is an item that has iitemhandler not a tile entity. Edited May 15, 20205 yr by starhan7 To be clear
May 15, 20205 yr 6 minutes ago, starhan7 said: Hello, as the title says i need an guidance how to make any items them unstealable , to be clearer i want to prevent them from being taken out of their slot. I just need basid guidance because i cannot think of anything. In of course custom inventory. This is an item that has iitemhandler not a tile entity. try return an empty stack in slotClick() and for the "number" transfer Edited May 15, 20205 yr by poopoodice
May 15, 20205 yr Author 4 hours ago, poopoodice said: try return an empty stack in slotClick() and for the "number" transfer Thanks a lot friend, returning an empty itemstack solved both problems.
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.