Started by
ninjawizard1234
on
Topic category: Help with MCreator software
im on creator 2023.4 now, i still cant make a item that was consumed (like a empty water canteen) to replace a destroyed one, can anybody help?
when item destroyed -> set new item (empty) on main-hand is not working
Go to your consumable item's "Food properties" section. (At the bottom of the MCreator window when you are on your item.)
Check the box next to "Is this item a food?", and add the empty version into the "Eating item result:" section.
(Your item will still use the same animation designated in the "Properties" section regardless of whether the item is classed as a food or not.)
oh i dont think so man because if i set as food the player will be able to eat it; its a welder, on each right-click on vehicles it 'heals' them, and eat durability, this part all already works, but when the item is destroyed (durability 0), like i want it destroyed after its done its 20 uses (durability), not when i use it 1 time
Ok, maybe you want to try making your item a tool?
Setup a new tool mod element (name it whatever you want) and go to its Properties.
Change the Type to "Special", and the efficiency/enchantability/etc. values to whatever you want, but make sure that durability is above 0
yeah i guess i will prb just set NBTs for the item, like energy or gas, i tought about that too, but i think its just a procedure thing since on my nuclear reactor, the cells (witch are items) are damaged on the slot so idk what is wrong, thanks!