Itemstack Iterator seems to be broken in 2024.3

Started by winterdrake on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 17:39, 8. Oct 2024
Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Itemstack Iterator seems to be broken in 2024.3

Hi, this code worked in an older build of Mcreator for Minecraft 1.20, but in the current version the itemstack iterator doesn't ever recognize this horse armor enchantment.

I have already double checked that the enchantments were correctly applied to the armor, the tooltip confirms my custom enchantment is active.

The itemstack iterator check just seems to never return true, even when an item with the custom Pegasus enchantment is inserted into the horse's inventory.