spoorn / myLoot

Instanced loot chests for Minecraft Fabric
Other
4 stars 6 forks source link

myLoot

Instanced loot chests for Minecraft Fabric

https://i.imgur.com/oGN5UNd.pnghttps://i.imgur.com/svaGO8D.png

https://i.imgur.com/2OI03Hl.pnghttps://i.imgur.com/a3x6uOm.pnghttps://i.imgur.com/tsdJHfs.pnghttps://i.imgur.com/l5I8gAy.png

https://i.imgur.com/dmNMnPm.png

https://i.imgur.com/zSsH7X4.gif

 

https://img.shields.io/static/v1?label=%20&message=other%20projects&color=4b5966&labelColor=658f79&logo=curseforge&logoColor=white&style=for-the-badge https://img.shields.io/discord/990178919795785749?color=4b5966&label=%20&labelColor=658f79&logo=discord&logoColor=white&style=for-the-badge https://img.shields.io/github/stars/spoorn/myLoot?color=4b5966&labelColor=658f79&label=github%20&logo=github&logoColor=white&style=for-the-badge https://img.shields.io/github/issues-raw/spoorn/myLoot?color=4b5966&labelColor=658f79&label=issues%20&logo=github&logoColor=white&style=for-the-badge

 

Description

myLoot replaces world-generated loot containers such as loot chests and barrels with a special myLoot container variant that has instanced loot per player.  This means each player can loot whatever they want out of any loot chest and other players will still have access to the original loot - providing a better looting experience!

No more logging onto a multiplayer server to find chunks within a 5000 block radius have already been looted by your friends.  Loot for all

myLoot is useful in singleplayer servers as well - you can visually see which loot chests you have already opened so you don't end up getting lost and re-looting areas

 

Features

All replacement works in modded structures as well as vanilla (dungeons, villages, strongholds, dimensions, etc.)

 

 

Dependencies

This mod requires:

 

requires fabric

 

 

FAQ

1. How does inserters/extractors such as hoppers/pipes affect the myLoot containers?

Modifying a myLoot container's inventory before player opening - such as using hoppers to add/remove items - should not affect the player's instanced inventory.  The original rolled loot will persist so any player opening a myLoot container for the first time will still get the original loot.

Also, myLoot containers essentially have an invisible inventory that contains the original non-player instanced inventory.  Modifying that inventory via inserters/extractors such as hoppers/pipes will work, but when a player breaks the myLoot container, only additions to the original rolled loot will drop (plus the player's instanced inventory who broke the myLoot container if applicable).  This is to prevent mass duplication of loot (however duplication of the original loot one time is still possible... I haven't yet found a way to prevent this without being invasive i.e. I don't want to break any code, vanilla or modded, that has logic around a loot container's inventory so I can't just delete the original invisible inventory).

 

 

Credits

The mechanics of myLoot containers changing appearance when opened by a player, and the stylish glowing texture design are heavily inspired by the Forge Lootr mod - but everything else was originally made from scratch.  myLoot is not a direct port of Lootr, and features will be different.  An official port of Lootr to Fabric is in the works.  Please see https://github.com/spoorn/myLoot/issues/1

 

  

Need a Server?

https://bisecthosting.com/spoorn