跳到正文

Loot Crates

Randomizable loot for servers.

收藏

介绍

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

This mod adds in the ability to make inventories which give random sets of items, based on the name of the inventory.

 

To make a crate you must first make the crate name in the .xml which is defaulted to TestCrate1, Then use an anvil ingame to rename a crate to the exact same name TestCrate1

 

This entire server side utility requires you to make all your edits in the xml provided in the config folder labeled lootcrate.xml

This is a cutdown version for my example.

 

 Heres how to add custom number of items:

<Crates>
    <Crate name="TestCrate1">
        <Key id="minecraft:stick" color="red" name="NameHere">
            <Tag>{display:{Lore:["LoreHere"]}}</Tag>
        </Key>
        <Reward r="10">
            <Item id="minecraft:redstone" n="10"/>
            <Item id="minecraft:emerald"/>
        </Reward>

 Here is how you determine % chance of getting item:

        <Reward r="10">
            <Item id="minecraft:emerald"/>
        </Reward>
        <Reward r="10">
            <Item id="minecraft:emerald"/>
        </Reward>
        <Reward r="5">
            <Item id="minecraft:emerald"/>
        </Reward>
        <Reward r="5">
            <Item id="minecraft:emerald"/>
        </Reward>

 This is how the % works out:

r=10 = 30%
r=10 = 30%
r=5   = 15%
r=5   = 15%
Total of 100%

 Commands:
/lc reload (can edit the .xml and /lc reload ingame without restarting server!)
/lckey player TestCrate1 (For config example above)

 

 

 

 

 

 

常见问题

Loot Crates 支持哪些 Minecraft 版本?

Loot Crates 支持 Minecraft Java 版 1.9.4–1.15.2,共 5 个版本。下载时注意选择和你游戏版本一致的文件。

Loot Crates 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 模组加载器,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Thutmose_III 的其他作品

查看全部 →