Air in Loot tables

Started by EndermanHD28 on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 10:25, 10. Mar 2024
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Air in Loot tables

So, I used air to create rarity for my drops in the loot tables. For example, Entry Weight of 9 for air and Entry Weight of 1 for diamonds, would give me 10% of getting diamonds in a Loot Table.

The problem is: you can not use air as a drop from loot tables anymore.

Maybe that's a bug? It is really a problem for my mod...

Last seen on 05:10, 3. Dec 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can set up chances for…
Sat, 09/23/2023 - 19:15

You can set up chances for loot tables without using air. Take a look at some of the base game code. If you open the minecraft.jar file with winRAR or something similar, loot tables are .json, so you can open them with a text editor to view them. I recommend looking at something like diamond ore, and looking at the way they set up the fortune. You can copy this and use it without the fortune part.