Help! My shield isn't working!

Started by Icy64 on

Topic category: Help with MCreator software

Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help! My shield isn't working!
Mon, 11/18/2019 - 23:19 (edited)

Here is the shield's script sorry that your browser is not loading it and i can't describe itHelp! How can i make this work?! If you can see it please help how do i give it a provided entity?

Edited by Icy64 on Mon, 11/18/2019 - 23:19
Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can't perfectly…
Tue, 11/19/2019 - 01:46

You can't perfectly replicate shields at the moment.

Something you can do is:

Make a tool{your shield}.

Go to the "item in inventory tick"

add an "if" block and make the condition "if item in entity's off hand = {your shield}"

Then make it give you resistance or something like that.

 

As I said you can't perfectly replicate shields at the moment but this will give a defensive bonus.

 

Hopefully they will add a shield option to tools.

Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i was doing that. but it…
Tue, 11/19/2019 - 09:14

i was doing that. but it says there's no provided entity.

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Change to "no additional…
Tue, 11/19/2019 - 17:51

Change to "no additional trigger" and tie it to the "when tool in inventory tick" in your custom tool.

The world tick event you are using is if you wanted to make a custom weather or something like that.