Started by
Fox_trot
on
Topic category: Help with Minecraft modding (Java Edition)
I'm back again!
I'm making a plant that is similar to that of the sweet berry bush. I want the sweet berry to have the same affect where it is both edible and the seed for the bush. As of right now there is no variable that I know of on a food for when it is right-clicked on a block, right now I have it as when it is right-clicked which spawns the plant right where the player is standing but also is edible at the same time.
Maybe the developers could add a right-clicked on block event to the food item.
Thanks
np, glad it worked!
I copied the exact Code you posted just 3 replies above this one SomeoneElse but it doesnt work and give compile Errors
Is your mod in 1.12 or 1.14? This code is for 1.12. Another thing is, this works only if your procedure is named "SpawnBerryBush".
The name of my procedure is "SpawnBerryBush" and I use 1.14 do you know what to Change for it to also work in 1.14?