介绍
Xyndra’s Crates
This is a MC mod based on Pebble’s Lootcrate.
Note that it requires Kotlin for Forge to run.
Permissions
For all admin commands, if you have LuckPerm installed, the following is required:
xyndra.admin.crate
Available Commands
/crate_admin crate Displays all available crate in the config and lets you grab a crate transformer/crate key
/crate_admin getcrate <name> Get a crate transformer
/crate_admin givekey <player> <amount> <cratename> Gives cratekey to a specific player
How to use?
After installing the mod, you may navigate to your /config/xyndras-crate/cratesthen create a file, for example example.json
You may use the follow example as reference for the structure:
{
"crateName": "Vanilla Items Crate",
"crateKey": {
"material": "minecraft:tripwire_hook",
"name": "&#FFBF00Vanilla Key",
"lore": [
"&#FFDC73• Opens a Vanilla Items Crate"
]
},
"prize": [
{
"name": "?BC5DDiamond",
"material": "minecraft:diamond",
"amount": 1,
"nbt": "{species:\"cobblemon:bulbasaur\",aspects:[\"shiny\"]}",
"commands": [
"give {player_name} minecraft:diamond 1"
],
"broadcast": "&6{player_name} &fhas received {prize_name} &ffrom {crate_name}",
"messageToOpener": "&6[Xyndra's Crates] &f&lYou got {prize_name} &f&lfrom Vanilla Items Crate",
"lore": [
"Chance of getting the drop: {chance}%"
],
"chance": 40
},
{
"name": "&rElytra",
"material": "minecraft:elytra",
"amount": 1,
"commands": [
"give {player_name} minecraft:elytra 1"
],
"broadcast": "&6{player_name} &fhas received {prize_name} &ffrom {crate_name}",
"messageToOpener": "&6[Xyndra's Crates] &f&lYou got {prize_name} &f&lfrom Vanilla Items Crate",
"lore": [
"Chance of getting the drop: {chance}%"
],
"chance": 5
},
{
"name": "&rGolden Apple",
"material": "minecraft:golden_apple",
"amount": 1,
"commands": [
"give {player_name} minecraft:golden_apple 1"
],
"broadcast": "&6{player_name} &fhas received {prize_name} &ffrom {crate_name}",
"messageToOpener": "&6[Xyndra's Crates] &f&lYou got {prize_name} &f&lfrom Vanilla Items Crate",
"lore": [
"Chance of getting the drop: {chance}%"
],
"chance": 55
}
]
}
Note that the mod supports legacy formatting (e.g. ?BC5D, &4, &f, &r) as demonstrated in the example.
常见问题
Xyndra’s Crates 支持哪些 Minecraft 版本?
Xyndra’s Crates 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
Xyndra’s Crates 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
Xyndra 的其他作品
查看全部 →
Experience Ores
A mod that adds an Exp Ore to every dimension.
Goop Forge
Add Goop that spawns from entity interactions
Cosmetic Armor Head Items
An addon to Cosmetic Armor that allows using any item as a cosmetic helmet.
Whoopie Cushions
Adds a craft to make cushions into whoopie cushions to troll your friends
评论
登录后评论和评分