Fire Aspect parameter for Loot Tables

Started by Dev1lroot on

Topic category: Feature requests and ideas for MCreator

Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Fire Aspect parameter for Loot Tables

When creating a loot table, you can indicate whether a block was mined with or without silk touch.

But it is still impossible to specify different loot tables if the animal is killed by something fiery or not, for example, modifying the loot tables for a pig, it turned out that the pig began to drop raw pork regardless of the presence or absence of the Fire Aspect.

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Looking at the pigs loot…
Sun, 05/19/2024 - 14:00
Looking at the pigs loot table file, this shouldn't be that hard to implement, I'll try and work on it.

                        {
                            "function": "furnace_smelt",
                            "conditions": [
                                {
                                    "condition": "entity_properties",
                                    "entity": "this",
                                    "properties": {
                                        "on_fire": true
                                    }
                                }
                            ]
                        },