Topic category: Help with modding
Im making a mod where you can store bananas in a crate. Right clicking an empty crate with a banana change it to a filled crate, but no matter where my banana is in my inventory, it still fills it. I dont want this to be the case. The crate should only fill when holding the banana. How can I check for a banana in my main hand?