Started by
the_cubja
on
Topic category: Help with MCreator software
I am making a mod that includes a dragon. The dragon will attack you unless you are holding somthing valuable but I can work out how to apply the condition to the ranged fire attack I made. Is it even possible? Thanks.
You should be able to apply a start and a continue condition in the entity's AI. Make a procedure that returns true or false by checking if the item in the main hand of the entity is tagged as 'valuable.' (Also make a tag for valuable items.) Then use this procedure as the start and continue condition in the entity's AI for attacking the player.