Posted March 27, 20196 yr I'm trying to make an item change its mode by shift-right clicking while hovering over the item in an inventory screen. How would I do this? I don't see any methods in the Item class that would do something like this.
March 27, 20196 yr Author Just an NBT change so that the item knows what "mode" it's in and behave accordingly.
March 27, 20196 yr Author I'm gonna have to look into all those methods, but one more thing you're missing: I only want to change the mode when shift-right clicking the item, not just when hovering while holding shift. Since a right click constitutes removing the item from the inventory temporarily, I assume this will be a bit more difficult? If it gets too impractical to implement, I can simply use a keybind while holding the item for this, but I wanna see what I can do first. Edited March 27, 20196 yr by ProspectPyxis
March 27, 20196 yr Author Hm, I suppose I'll go with the keybind route, then. Thanks for the help anyways!
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.