How to make a entity give a entity a attack procedure (tutorial)

Started by Brohamster on

Topic category: Help with MCreator software

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a entity give a entity a attack procedure (tutorial)

I'm making a tutorial based on entity attack procedure.

Step 1: Create your entity.

Step 2: make a new procedure (not in the entity)

Step 3: set the global trigger to entity attacked

step 4: get the "if.....do....." block (it is found in the flow control section)

step 5: get the "is.....(sub)type of........" block (found in logic) and replace the event/target entity block with source entity block

step 6: move the "is.....(sub)type of ......." block and put it in "if" in the "if...do...." block

step 7: select the entity that you made in step 1 on the "is....(sub)type of....." block

step 8: add a procedure block to the "do" in "if....do" block