Started by
Jamesthefool
on
Topic category: Help with Minecraft modding (Java Edition)
Hi, so I'm makeing a JoJos bizzare adventure mod and I need to know how to put a cooldown on the items which give boosts and summon stands. I also want to know how to spawn a mob in for a limited amount of time.
If you know how to do it please tell me. Thanks
For the item with cooldown, create a procedure when the item is right clicked in air, then go to item procedures, then drag and drop, "Cooldown current item for [100] ticks for provided entity".
20 ticks are in a second.
For the mob one, I think you can use a command output in some procedures that goes like this, /kill @e[type=creeper, r=1], which kills a creeper in the radius of one block. Additionally I'm 75% sure that /kill @e[type=Item,r=1] {Item:{id:minecraft_gunpowder}} works for gunpowder in a 1 block radius.
Hey I'm trying to add a cool down for the "player right clicks with item" procedure, any idea how I could do that?
Write cooldown at search box of prodecure. Also you can call other prodecures also can say on player tick update add +1 to player nbt tag also add a potion effect say get potion duration if it is 0 than do that ETC. Dammit use google
Well you dropped that mod
https://mcreator.net/modification/59841/jojo-pre-beta-mod
anyone wanna try?