chance to get nothing in loot table

Started by A_miner on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
chance to get nothing in loot table

I have been using air in my loot table so that there was a chance nothing would drop but I can't add air anymore. How would I make it to where there was a chance my mob could drop nothing.

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That's odd; as long as theā€¦
Tue, 11/21/2023 - 16:54

That's odd; as long as the loot table isn't entirely air I don't think it should be deleting stuff. 

You could try locking the loot table and adding air/loot table weights manually; that should fix the issue, but it seems weird it's actually removing entries. (Just use a placeholder item for the air, then lock the loot table and replace the name with 'air.')

Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It worked thank you.
Wed, 11/22/2023 - 01:19

It worked thank you.