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

Loot tables defined with LootTweaker do not get called on a SpongeForge server #19

Open
zediious opened this issue Mar 28, 2022 · 2 comments
Assignees
Labels
Bug/Issue Somethin' borked Requires Testing This issue needs further testing to be resolved Server This issue is only related to the server

Comments

@zediious
Copy link
Member

zediious commented Mar 28, 2022

Bug description

Loot tables defined with LootTableTweaker (as defined here https://github.com/zediious/galacticdrive/blob/0.2alpha/overrides/scripts/chestloot.zs) do not appear in chests on multiplayer. An example of this is the chests inside the WroughtBuilding structure on Hilund.

Did this behavior work in a previous version?

Had not been tested on multiplayer

Steps to reproduce

  1. In singleplayer with cheats enabled, use /setblock ~ ~2 ~ minecraft:chest 1 0 {LootTable:"gdtable:hilund"} and see the loot table populate the spawned chest. One can also find or spawn a WroughtBuilding recurrent complex structure.
  2. Doing such on a multiplayer server results in no items.

The loot tables are generated properly within the server world at /world/data/loot_tables, and CraftTweaker reports no errors from the script, so I cannot understand why they are not called

Logs

Client information

  • Modpack Version:0.2alpha
  • Java Version:jre1.8.0_251
  • Launcher Used:MultiMC
  • Memory Allocated:8192MB
  • Singleplayer/Server:Server
  • Server API:SpongeForge 7.4.7
@zediious zediious added the Bug/Issue Somethin' borked label Mar 28, 2022
@zediious zediious self-assigned this Mar 28, 2022
@zediious zediious added the Server This issue is only related to the server label Mar 28, 2022
@zediious
Copy link
Member Author

It looks as though this may be a problem with Sponge, chests assigned with the loot table populate correctly on a server without Sponge. More testing needed.

@zediious zediious added the Requires Testing This issue needs further testing to be resolved label Apr 27, 2022
@zediious
Copy link
Member Author

Posted issues regarding this on SpongeForge and LootTweaker's issue trackers.

Daomephsta/LootTweaker#90
SpongePowered/SpongeForge#3294

@zediious zediious changed the title Loot tables defined with LootTableTweaker do not get called on a multiplayer server Loot tables defined with LootTweaker do not get called on a multiplayer server Apr 28, 2022
@zediious zediious changed the title Loot tables defined with LootTweaker do not get called on a multiplayer server Loot tables defined with LootTweaker do not get called on a SpongeForge server Sep 21, 2022
@zediious zediious added this to alpha Jun 25, 2024
@zediious zediious moved this to Current Issues in alpha Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug/Issue Somethin' borked Requires Testing This issue needs further testing to be resolved Server This issue is only related to the server
Projects
Status: Current Issues
Development

No branches or pull requests

1 participant