Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.16.5 Bug] LootTable of containers will be generated when searching #41

Open
GoldenTotem opened this issue Aug 1, 2024 · 0 comments

Comments

@GoldenTotem
Copy link

Minecraft 1.16.5 Forge 36.2.35 FineMe 2.2.0

If player use searching, all container around him will generate items by their loot table, even player in spectator mode.

  1. Run command /setblock ~ ~ ~ chest{LootTable:"minecraft:chests/end_city_treasure"}
  2. Open your inventory and press Y on an item.
  3. Run command on that chest /data get block ~ ~ ~
  4. You will see {LootTable:""} nbt is disappeared and instead with {Items:[]}, which means the loot table has been generated before someone open the chest.

Please add a config to control whether searching can generate loot table. And whether it's ture of false, spectator player can never generate loot table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant