Anvil item converter

Started by 1O9x on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Anvil item converter

I want to make that when an anvil falls on an item it changes the item to another one

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
this seems to work,
Thu, 10/02/2025 - 12:12

this seems to work,

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
((FallingBlockEntity)entity)…
Thu, 10/02/2025 - 12:12

((FallingBlockEntity)entity).getBlockState().getBlock()