How to make the item receive enchantment by killing an entity

Started by Wotan on

Topic category: Advanced modding

Last seen on 22:33, 1. Aug 2023
Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make the item receive enchantment by killing an entity

In Mcreator 2020.5

An item in the secondary hand will receive 1 enchantment level for each dead entity. How to do this?

Last seen on 03:05, 29. Apr 2022
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could set a procedure…
Fri, 01/29/2021 - 08:47

You could set a procedure that says "if in off-hand and killed number of Mobs > give enchantment 'X' ".

Giving an enchantment is actually a procedure block you can choose in the procedure maker. That should work just fine, you probably have to tinker around with some numbers though.