Started by
Tse244
on
Topic category: Help with MCreator software
Hello, I have started using mcreator and I am making mods for my mod pack. I want to harvest a plant with shears when they are in my hand or I have them in my inventory. Can you guys help I can't find the correct procedure for this?
Not on my computer to show you, but you need do set up a procedure to use the on player tick trigger, then make an If Do statement block that checks for the sheets in the players main hand, then check for the block for your plant, then put the spawn gem in the do section..
Sheets is sheers, autocorrect sucks
I changed the event triggers additional trigger to on player tick update but it gives the plant instantly when the player has shears in inventory.
Can you help?
This is one way to do it
sorry I misled when I said use the on player tick option, I was getting ready for work :D
Thx I will try it
Again thx i did it. But I have another question I want to make a thirst mod but I may need some help could you help me with that?
what kind of help?
2020.5 will release easy-to-use overlays, so you can toggle images in an overlay with procedures. Simply add a water drop for every thirst level you want, and then change them around using procedures based on a Player_Lifetime variable for thirst. There is one issue I found though when doing this: if the game screen is scaled in any way the thirst bar will change it's position as well, and there is no way to anchor it sadly.
sadly Im modding for 1.12.2 so i wont be able to use 2020.5
look at plugins, theres 1.12.2 support plugin for newer versions of mcreator :)
what does spawn gem do?
spawn an item on the world.. for item drops