Config: loot tables for backpacks
Grandof1 opened this issue ยท 1 comments
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
- Not able to
configure
certain backpacks can be found inloot chests
in theconfig
Describe the solution you'd like.
A clear and concise description of what you want to happen.
- Able to
configure
specific backpacks to where they can be found, similar to which mobs can spawn with specific backpacks - Able to set the
percentage
of chance that specific backpack can be found in the particularloot chest
Describe alternatives you've considered.
A clear and concise description of any alternative solutions or features you've considered.
- Honestly can't think of any, I'm sorry
Additional context
Add any other context or screenshots about the feature request here.
- Much like how the wiki's Loot page shows difference
structures
,backpacks
and theirchances
would be extremely nice to be able toconfigure
this in theconfig
for each structure (so I can only allow my players on my server to get specific backpacks in certain locations found via exploring)
Config Example:
"world": {
// Enables backpacks spawning in loot chests
"enableLoot": true,
// List of loot tables by structures, add/remove entries if backpacks are/not part of loot table
"mineshaft": [
"travelersbackpack:blaze",
"travelersbackpack:squid",
"travelersbackpack:sponge",
"travelersbackpack:bat",
],
"ancientCity": [],
"stronghold": [
"travelersbackpack:sponge",
"travelersbackpack:bat",
],
"burriedTressure": [
"travelersbackpack:standard",
],
// Enables chance to spawn Zombie, Skeleton, Wither Skeleton, Piglin or Enderman with random backpack equipped
"spawnEntitiesWithBackpack": false,
Note
- Not sure how would write in the chances in example