Jump to content

Psistorm

Members
  • Posts

    6
  • Joined

  • Last visited

Psistorm's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I do know that the server-config.cfg in your world folder will have a loot table option, it /should/ default to false, but that would be the setting you want. Looks like we're having opposite issues, hah.
  2. Ahh - right now I'm copying the namespace of the mod, which uses loot modifiers to alter the vanilla table, I'll do some more research
  3. Thank you for the links, I used the first one to learn about loot tables before beginning, it was quite helpful actually, the second one should definitely come in handy if I do make my own from scratch, too! To provide some more info, I'll put the global_loot_modifiers.json here, as well as list the file structure, just to make sure everything is correct. { "replace": true, "entries": [ "dragonmounts:dragonmounts/aether/chests/simple_dungeon", "dragonmounts:dragonmounts/ghost/chests/woodland_mansion", "dragonmounts:dragonmounts/water/chests/buried_treasure", "dragonmounts:dragonmounts/fire/chests/desert_pyramid", "dragonmounts:dragonmounts/forest/chests/jungle_temple", "dragonmounts:dragonmounts/ghost/chests/abandoned_mineshaft", "dragonmounts:dragonmounts/ice/chests/igloo_chest", "dragonmounts:dragonmounts/nether/chests/bastion_treasure" ] } file structure: [datapack name] / data / forge / loot_modifiers / global_loot_modifiers.json [datapack name] / data / dragonmounts / loot_modifiers / ghost / chests / abandoned_mineshaft.json there are more folders in loot_modifiers for the other dungeon chests, all intended - as a test right now - to convey a 100% spawn chance for a dragon egg (usually it is around 7.5 to 30%). However testing with this I found no eggs anywhere, and like I said, JER does not show any drop information for dragon eggs, but does show drop information for other items, chests and mob drops both. For completness sake, an excerpt of one of the loot table modifiers, this one for the mineshaft: { "conditions": [ { "condition": "forge:loot_table_id", "loot_table_id": "minecraft:chests/abandoned_mineshaft" }, { "condition": "minecraft:random_chance", "chance": 1.0 } ], "breed": "dragonmounts:ghost", "type": "dragonmounts:dragon_egg_loot" } I appreciate all the feedback here so far, by the way, thanks for everyone who replied!
  4. TO update, no dice, sadly. I switched replace to true, but it's not showing up. I found something odd though. I installed JER to verify the loot tables for the dragon eggs, but it's not working on those items. I made sure that the server-config to allow loot tables was enabled for the single player world I'm testing in as well. It almost seems like the mod itself is not spawning eggs at all for some reason, but I figure a loot modifier should still make that happen regardless?
  5. Looks like the "replace" value was what I was missing, I'll test this out and will report back once I have results, thank you!
  6. I'm running a small server for some friends, and we run Dragon Mounts Legacy as part of our small selection of mods. We wanted to up the drop rate for the dragon eggs, and thus - total noob as far as creating datapacks/etc goes - I am now trying to find a way to modify the drop rates. The github for the loot_modifier part of the mod is here: https://github.com/Kay9Unit/Dragon-Mounts-Legacy/tree/master/src/generated/resources/data/dragonmounts/loot_modifiers/dragonmounts And my question basically is: loot_modifier is a forge specific thing, but can I possibly run a datapack to override these modifications with my own? Or what would be the most straightforward way for me to basically control the drop rates for the eggs myself?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.