
myLoot
Instanced loot per player for a better looting experience on Multiplayer servers
Обновлён 24 июля 2023 г. · опубликован 23 февраля 2022 г.








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.)
- Replaces loot chests (works for double chests!)
- Replaces loot barrels
- Replaces chest Minecarts
- Replaces Shulker Boxes
- myLoot containers will change in appearance to the player if they have opened it. This is client-side so other players will still see the unopened textures if they have not opened it.
- myLoot containers will warn the player that breaking it can affect other players. A player can still break myLoot containers by holding Sneak while breaking. Note: breaking a myLoot container by default will only drop the instanced loot of the player who broke it (plus the loot container item). This can be changed via the "dropBehavior" config to instead drop ALL players' loot
- This should work with modded items in the myLoot containers as well and with modded loot containers
- myLoot Chest is craftable with a regular Minecraft chest surrounded by enchanted apples (see images above)
- myLoot Chest can be combined into a double chest
- myLoot Chest Minecart is craftable with a myLoot chest and minecart
- myLoot Shulker Box when broken will drop a special myLoot Shulker Box Item that persists instanced inventories, so players can still access their instanced loot from the shulker box when it is placed back down. Essentially, it's a portable instanced shulker box!
Dependencies
This mod requires:
- SpoornPacks - https://www.curseforge.com/minecraft/mc-mods/spoornpacks
- Fabric API - https://www.curseforge.com/minecraft/mc-mods/fabric-api

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?
Версии
| Версия | Канал | Игра | Загрузчики | Дата | Скачать |
|---|---|---|---|---|---|
| 4.0.3-1.20.1 | Релиз | 1.20, 1.20.1 | fabric | 24 июля 2023 г. | Скачать (228 КБ) |
| 4.0.2-1.20.1 | Релиз | 1.20, 1.20.1 | fabric | 20 июля 2023 г. | Скачать (228 КБ) |
| 4.0.1-1.20.1 | Релиз | 1.20, 1.20.1 | fabric | 18 июля 2023 г. | Скачать (228 КБ) |
| 4.0-1.20.1 | Релиз | 1.20, 1.20.1 | fabric | 17 июля 2023 г. | Скачать (226 КБ) |
| 3.2-1.19.3 | Релиз | 1.19.3 | fabric | 8 мая 2023 г. | Скачать (225 КБ) |
| 3.1-1.19.2 | Релиз | 1.19, 1.19.1, 1.19.2 | fabric | 8 мая 2023 г. | Скачать (226 КБ) |
| 2.1.4-1.18 | Релиз | 1.18, 1.18.1, 1.18.2 | fabric | 8 мая 2023 г. | Скачать (225 КБ) |
| 1.1 | Релиз | 1.18.1, 1.18.2-pre1, 1.18.2-pre2, 1.18.2-pre3 | fabric | 23 февраля 2022 г. | Скачать (142 КБ) |
| 1.0 | Релиз | 1.18.1-rc3, 1.18.1, 1.18.2-pre1, 1.18.2-pre2 | fabric | 23 февраля 2022 г. | Скачать (123 КБ) |
Ченджлог
4.0.3-1.20.1Релиз1.20, 1.20.1 · 24 июля 2023 г.
Remove from LOADED_CHUNKS_CACHE when chunks are unloaded to prevent memory from increasing
4.0.2-1.20.1Релиз1.20, 1.20.1 · 20 июля 2023 г.
Bump to 4.0.2-1.20.1
Fixes an issue where the myLoot container does not have the same properties as the original container, but we try adding non-existing properties. Unfortunately, this means it's possible the myLoot container won't have all of the same features as the original, if it's some modded container with different properties.
For example:
[23:09:35] [Server thread/ERROR]: Encountered an unexpected exception java.lang.IllegalArgumentException: Cannot set property class_2746{name=ancient, clazz=class java.lang.Boolean, values=[true, false]} as it does not exist in Block{myloot:loot_chest} at net.minecraft.class_2688.method_11657(class_2688.java:122) ~[client-intermediary.jar:?] at org.spoorn.myloot.core.LootableContainerReplacer.lambda$registerTickCallback$2(LootableContainerReplacer.java:137) ~[myloot-4.0.1-1.20.1.jar:?]
4.0.1-1.20.1Релиз1.20, 1.20.1 · 18 июля 2023 г.
Add fr_fr and uk_ua lang
4.0-1.20.1Релиз1.20, 1.20.1 · 17 июля 2023 г.
Update to Minecraft 1.20.1
Fixed Minecarts not updating opened/unopened rendering on load and on opening client side. It wasn't syncing with server previously unless the entity was changed such as through damage or inventory interaction.
Increase chunk radius check to 2 for when to attempt myLoot entity replacement. Might fix https://github.com/spoorn/myLoot/issues/26
1.1Релиз1.18.2-pre1, 1.18.2-pre2, 1.18.2-pre3 · 23 февраля 2022 г.
Add myLoot Chest as a craftable Item Add double myLoot Chests Added items to creative inventory
Комментарии
Загружаем…
