In loot tables, conditions on the `sequence` function don't have any effect
What I expected to happen was...:
The conditions should be applied
What actually happened was...:
The conditions don't have any effect
Steps to Reproduce:
1. Create a loot table in a datapack
2. Apply the sequence function to an item. Example :
{
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:bow",
"functions": [
{
"function": "minecraft:sequence",
"functions": [
{
"function": "minecraft:set_enchantments",
"enchantments": {
"minecraft:infinity": 1
}
},
{
"function": "minecraft:set_lore",
"lore": [
{
"text": "custom lore"
}
],
"mode": "append"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0
}
]
}
]
}
]
}
]
}
3. Load the datapack (example with one added as attachement)
4. Run the command `/loot give @s loot test:sequence_condition` to give yourself the loot of the loot table
[media]The bow should not have any enchantment or custom lore, as the random chance is 0. But it does.
[media]
Linked issues
Attachments
Comments 6
@unknown, while a community has already stated they can confirm your report, please attach screenshots of you reproducing this issue in a 100% vanilla environment. Your UI indicates you have mods installed.
Thank you for your report!
After consideration, the issue is being closed as Invalid.
You have posted a feature request or a suggestion. This site is for bug reports only.
For suggestions, please visit The official Minecraft feedback site or visit the Minecraft Feedback Discord server.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
We do not have enough information to reproduce this issue.
Please also attach any needed commands, datapacks, resourcepacks, screenshots, videos, or worlds needed to help reproduce this issue.
Refer to the Bug Tracker Guidelines for more information about how to write helpful bug reports. Bug reports with insufficient information may be closed as Incomplete.
This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki