跳到正文

myLoot

作者:spoorn

Instanced loot per player for a better looting experience on Multiplayer servers

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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://tinyurl.com/spoorndiscordbadge 
https://img.shields.io/github/stars/spoorn/SpoornPacks?color=4b5966&labelColor=658f79&label=github%20&logo=github&logoColor=white&style=for-the-badge 
https://img.shields.io/github/issues-raw/spoorn/SpoornPacks?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.)

  • 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:

 

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

常见问题

myLoot 支持哪些 Minecraft 版本?

myLoot 支持 Minecraft Java 版 1.18–1.20.1,共 9 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

myLoot 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

spoorn 的其他作品

查看全部 →