deicore 图标

deicore

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/deicore
资源信息

Minecraft 版本: 1.21 1.21.1

平台: fabric

标签: utility

资源介绍

deicore

Q&A

Q: What's this is deicore?
A: deicore is a support library, and It has WorldVar and other functions too.

Q: What's API has functions?
A: API has Configuration Manager, Mod Check and other functions.

Q: What "WorldVar" can do?
A: He can create a variable that takes effect throughout the entire game, similar to a scoreboard.

WorldVar Command | Subcommand | Description | Command Format | Parameter Explanation | Execution Feedback | Return Value Explanation | | ---------- | ----------- | -------------- | --------------------- | ------------------ | ------------------------- | | new | Create a new integer-type world variable | `/world_var new ` | 1. **VarName**: String type, the name of the new variable
2. **Value**: Integer type, the initial value of the new variable | Success: Returns the message "deicore.command.world_var.new_success" with the variable name and initial value | Returns 1 by default | | get | Query the value of a specified world variable | `/world_var get ` | **VarName**: String type, the name of the variable to query | 1. Success: Returns the message "deicore.command.world_var.get_success" with the variable name and its value
2. Failure - Variable not found: Returns the message "deicore.command.world_var.not_found" with the variable name
3. Failure - Format error: Returns the message "deicore.command.world_var.format_error"
4. Failure - Unknown error: Returns the message "deicore.command.world_var.unknown_error" | 1. Success: Returns the integer value of the queried variable
2. Returns 0 in all failure scenarios | | add | Add a specified value to an existing integer world variable | `/world_var add ` | 1. **VarName**: String type, the name of the variable to add to
2. **Value**: Integer type, the value to be added | 1. Success: Returns the message "deicore.command.world_var.add_success" with the variable name, the added value, and the value after addition
2. Failure - Variable not found: Returns the message "deicore.command.world_var.not_found" with the variable name
3. Failure - Format error: Returns the message "deicore.command.world_var.format_error" | 1. Success: Returns the integer value of the variable after addition
2. Returns 0 in all failure scenarios | | set | Modify the value of an existing world variable to a specified integer | `/world_var set ` | 1. **VarName**: String type, the name of the variable to modify
2. **NewValue**: Integer type, the new value for the variable | 1. Success: Returns the message "deicore.command.world_var.set_success" with the variable name and new value
2. Failure - Variable not found: Returns the message "deicore.command.world_var.not_found" with the variable name | 1. Success: Returns the new integer value set
2. Returns 0 on failure | | remove | Delete a specified world variable | `/world_var remove ` | **VarName**: String type, the name of the variable to delete | 1. Success: Returns the message "deicore.command.world_var.remove_success" with the variable name
2. Failure - Variable not found: Returns the message "deicore.command.world_var.not_found" with the variable name | 1. Returns 1 on success
2. Returns 0 on failure | | subtract | Subtract a specified value from an existing integer world variable | `/world_var subtract ` | 1. **VarName**: String type, the name of the variable to subtract from
2. **SubtractValue**: Integer type, the value to be subtracted | 1. Success: Returns the message "deicore.command.world_var.subtract_success" with the variable name, the subtracted value, and the value after subtraction
2. Failure - Variable not found: Returns the message "deicore.command.world_var.not_found" with the variable name
3. Failure - Format error: Returns the message "deicore.command.world_var.format_error" | 1. Success: Returns the integer value of the variable after subtraction
2. Returns 0 in all failure scenarios |
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
ChatDebug

价格:0 墨喵币
下载量:0

查看详情
Vanilla Enhanced

价格:0 墨喵币
下载量:0

查看详情
Totem of Medkit

价格:0 墨喵币
下载量:0

查看详情
NexusMobs

价格:0 墨喵币
下载量:0

查看详情