How to ignore Silk Touch enchantment?

Started by Sweddy on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to ignore Silk Touch enchantment?

I have a block with different variants, and I don't want players to be able to obtain these variants into their inventory in any way. The Silk Touch enchantment ruins this. You wouldn't want players to obtain the active version of a Furnace in regular gameplay, for example.

So how then do I make blocks ignore Silk Touch?

Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try when player starts…
Thu, 06/28/2018 - 03:17

Try when player starts breaking block spawn gem (item you want it to drop) add block x y z air Unfortunately the block will break instantly. I am trying to do this for my mod too.