Started by
Ali107
on
Topic category: Help with MCreator software
I give my mob a ranged weapon to shoot from, it shoots every second or so. How do I make it shoot less frequently like shoot every 3 seconds?
Topic category: Help with MCreator software
I give my mob a ranged weapon to shoot from, it shoots every second or so. How do I make it shoot less frequently like shoot every 3 seconds?
Use conditions in your attack procedure to only allow it to attack every 60 ticks, using a procedure to track a timer (on entity tick update), and set a variable between true and false as a condition to trigger when and when it can't shoot. Every 60 ticks, set the condition to true for 5 ticks, then false for the next 55 ticks or so. Repeating that procedure constantly.
can rephrase this, I didn't understand.
Use entity tick update to activate/desactivate firing capacity every 60 ticks