Topic category: Help with Minecraft modding (Java Edition)
OKAY so this is my last resort because I've tried searching everywhere else for some help on this, but I'm drawing a blank! So I basically have made a coffee grinder block (successfully) and I want to add a right-click procedure to it.
Basically, if a player is holding a 'Coffee Bean' item, they can right-click the grinder to turn the coffee bean into ground coffee. If the player does not have any coffee beans, it'll send a message in the chat saying "You need coffee beans first!"
I did want to make it more complex but if I can just figure this out then I can work on doing the harder stuff another time! How do I go about this? I've made this procedure so far (https://i.imgur.com/anX62Q4.png) but as you can see, it isn't working due to a missing dependency that I don't know how to resolve! Can someone PLEASE explain this? I'd appreciate it greatly!
what's your mcreator version ?
Turn the "On player right clicks block" global procedure to blank and instead apply that procedure to your coffee grinder block.
I'm on version 2021.3!
I also tried doing this but I'm still getting the missing dependencies error :(
Ok good then do this way:
1) use block right click tag and not player right clicdk
2) don't use shrink block but substitute with remove or set item number to get item number
now it works