Vanilla Essentials
一款为技术型玩家、命令方块用户和地图制作者提供实用工具的模组
欢迎在此发送反馈
功能
实体
- 碰撞箱实体
命令
/raycast/compare/rename/advancedsummon/count/activate/convert/iftick/distance/rtp/coords/nearfill/scan/ifat/area/findblock/ifpowered/wait
按键绑定
- 复制方块位置 (
F6) - 更改飞行速度 (
backtick) - 快速填充 (
F8) - 激活 (
unset)
计分板标准
- 右键点击
- OP 权限
其他
- 反杀 (Antikill)
- 反传送 (Antitp)
- 实体选择器计数参数
- 排除自身参数
- 向所有实体添加
custom_dataNBT 标签
用法
碰撞箱实体
- 一个带有碰撞箱的隐形实体。
- 拥有
scaleNBT 数据以调整其大小,以及IsEnabled用于切换碰撞状态。 - 这是一个服务器端功能。
命令
/raycast
- 从玩家的视角执行射线检测以探测方块。
- 用法:
/raycast <player> block <axis> [<max_distance>]/raycast <player> ifblock <block> [<max_distance>]
- 使用
block时,返回玩家所注视方块的指定轴(x、y或z)上的坐标。 - 使用
ifblock时,如果玩家所注视的方块匹配给定的方块状态,则返回1。 - 如果没有击中任何方块,命令将失败。
- 如果条件不满足,返回结果或错误。
- 在服务器端运行。
/compare
- 对 NBT 值与比较源(另一个实体或存储)匹配的实体运行命令。
- 用法:
/compare <target> <target-path> entity <compare-target> <compare-path> <command>/compare <target> <target-path> storage <storage-id> <storage-path> <command>
- 在服务器端运行。
/rename
- 重命名主手所持的物品。
- 用法:
/rename <text> - 仅支持纯文本 — 不支持颜色代码或 JSON 组件。
- 在客户端运行。
/advancedsummon
- 使用高级选项生成实体。
- 用法:
/advancedsummon area <from> <to> <entity> [<nbt>]— 在立方体区域内的每个方块生成一个实体。/advancedsummon multiple <amount> <entity> [<nbt>]— 生成指定数量的实体。
- 在服务器端运行。
/count
- 统计匹配目标选择器的实体和玩家数量。
- 用法:
/count <target> - 将计数作为命令结果返回。
- 在服务器端运行。
/activate
- 切换指定位置的可交互方块的状态。
- 可以激活命令方块。
- 对于拉杆,它会翻转状态(开/关)。
- 对于按钮和压力板,它会模拟按下并在 1 秒后自动释放。
- 用法:
/activate <pos> - 在服务器端运行。
/convert
- 将方块转换为实体。
- 用法:
/convert <from> <to> (falling_block|block_display) [<nbt>] - 在服务器端运行。
/iftick
- 检查当前游戏刻是否匹配指定的刻数。
- 用法:
/iftick <tick> - 仅当当前刻数模
<tick>为零时才成功。 - 适用于使定时函数定期运行。
- 在服务器端运行。
/distance
-
测量两个方块或两个实体之间的直线(欧几里得)距离。
-
用法:
/distance block <from> <to>/distance entity <from> <to>
-
在聊天中输出整数距离。
-
将整数距离作为命令结果返回。
-
在服务器端运行。
/rtp
- 将目标实体传送到指定立方体区域内随机网格对齐的位置。
- 用法:
/rtp <targets> <from> <to> - 在服务器端运行。
/coords
- 一个客户端命令,用于保存、列出、删除和复制命名的方块位置。
- 位置按世界/服务器保存在 Minecraft 文件夹内的 JSON 文件 (
saved_cords.json) 中。 - 用法:
/coords save <name>— 将当前玩家方块位置以<name>为名保存。/coords list— 列出当前世界/服务器的所有已保存位置。/coords remove <name>— 删除名为<name>的保存位置。/coords copy <name>— 将保存的坐标<name>复制为x y z格式到剪贴板。
- 保存的坐标在 Minecraft 会话之间持久存在。
- 在客户端运行。
/nearfill
- 使用偏移量相对于玩家位置填充体积。
- 用法:
/nearfill <dx> <dy> <dz> <block>— 用<block>填充相对于玩家的偏移处的方块。/nearfill <dx> <dy> <dz> <block> replace <replace>— 替换方块。
- 在服务器端运行。
/scan
- 返回区域内指定方块的数量。
- 用法:
/scan <from> <to> <block> - 在服务器端运行。
/ifat
- 在区域内的所有目标上执行命令。
- 用法:
/ifat <from> <to> <command> - 在服务器端运行。
/area
- 对区域内的每个方块执行命令。
- 用法:
/area <from> <to> <command> - 在服务器端运行。
/findblock
- 查找半径内最近的方块并返回轴。
- 用法:
/findblock <block> <radius> [<axis>] - 在服务器端运行。
/ifpowered
- 检测方块是否通电。
- 用法:
/ifpowered <pos> [<not>] - 如果方块未通电,命令将失败;但如果
not布尔值设置为 true,则成功。 - 在服务器端运行。
/snapshot
- 用于恢复区域。
- 用法:
/snapshot save <from> <to> <name> [<filterAir>]/snapshot restore <name>/snapshot remove <name>
- 在服务器端运行。
/wait
- 延迟命令方块链的执行
- 用法:
/wait <ticks> - 在服务器端运行。
按键绑定
复制方块位置 (F6)
- 在注视方块时按
F6将其坐标复制到剪贴板。 - 坐标格式:
x y z。
更改飞行速度 (backtick)
- 按住
backtick时滚动鼠标滚轮以更改飞行速度。
快速填充 (F8)
- 按下该键一次以选择区域的第一个角。
- 再次按下以选择第二个角——该区域将被你手中的方块填充。
- 按 Ctrl + 键可手动清除选择。
- 如果仅选择了第一个点,30 秒后会自动清除。
激活 (unset)
- 在你所注视的方块上运行
/activate命令
计分板标准
右键点击
- 追踪玩家使用任意物品进行右键点击的行为。
OP 权限
- 自定义计分板标准,用于检测玩家是否拥有管理员(OP)权限。
其他
反杀 (Antikill)
- 带有
antikill标签的实体无法被/kill命令杀死。
反传送 (Antitp)
- 带有
antitp标签的实体无法被/tp命令传送。
实体选择器计数参数
- 可与任何实体选择器(
@e[...])配合count参数使用。 - 支持单个数字(
count=2)或范围(count=2..3)。 - 仅当匹配实体的数量落在指定范围内时,选择器才会选中这些实体。
- 如果匹配实体的数量不在该范围内,则不会选中任何实体。
排除自身参数
- 当添加到实体选择器中时(
exclude_self=true),会将执行者实体(@s)从目标中排除。
Vanilla Essentials
A mod that adds useful tools for technical players, command block users, and mapmakers
Feel free to send feedback here
Features
Entities
- Hitbox entity
Commands
/raycast/compare/rename/advancedsummon/count/activate/convert/iftick/distance/rtp/coords/nearfill/scan/ifat/area/findblock/ifpowered/wait
Keybinds
- Copy block position (
F6) - Change fly speed (
backtick) - Quick fill (
F8) - Activate (
unset)
Scoreboard Criteria
- Right-click
- OP permission
Other
- Antikill
- Antitp
- Entity selector count argument
- Exclude self argument
- Adds a
custom_dataNBT tag to every entity
Usage
Hitbox Entity
- An invisible entity with a hitbox.
- Has NBT data
scaleto adjust its size andIsEnabledto toggle collision. - This is a server-side feature.
Commands
/raycast
- Performs a raycast from the player's perspective to detect a block.
- Usage:
/raycast <player> block <axis> [<max_distance>]/raycast <player> ifblock <block> [<max_distance>]
- With
block, returns the coordinate along the given axis (x,y, orz) of the block the player is looking at. - With
ifblock, returns1if the block the player is looking at matches the given block state. - If no block is hit, the command fails.
- Returns the result or error if conditions are not met.
- Runs on the server side.
/compare
- Runs command on entities whose NBT values match a comparison source (another entity or storage).
- Usage:
/compare <target> <target-path> entity <compare-target> <compare-path> <command>/compare <target> <target-path> storage <storage-id> <storage-path> <command>
- Runs on the server side.
/rename
- Renames the item you're holding in your main hand.
- Usage:
/rename <text> - Supports only plain text — no color codes or JSON components.
- Runs on the client side.
/advancedsummon
- Spawns entities with advanced options.
- Usage:
/advancedsummon area <from> <to> <entity> [<nbt>]— summons one entity per block in the cuboid area./advancedsummon multiple <amount> <entity> [<nbt>]— summons the specified number of entities.
- Runs on the server side.
/count
- Counts entities and players matching the target selector.
- Usage:
/count <target> - Returns the count as the command result.
- Runs on the server side.
/activate
- Toggles interactable blocks at the specified position.
- Can activate command blocks.
- For levers, it flips the state (on/off).
- For buttons and pressure plates, it simulates pressing and automatically releases after 1 second.
- Usage:
/activate <pos> - Runs on the server side.
/convert
- Converts blocks into entities.
- Usage:
/convert <from> <to> (falling_block|block_display) [<nbt>] - Runs on the server side.
/iftick
- Checks if the current game tick matches the specified tick number.
- Usage:
/iftick <tick> - Succeeds only if the current tick count modulo
<tick>is zero. - Useful for timing functions to run periodically.
- Runs on the server side.
/distance
-
Measures the straight-line (Euclidean) distance between two blocks or two entities.
-
Usage:
/distance block <from> <to>/distance entity <from> <to>
-
Outputs the integer distance in chat.
-
Returns the integer distance as the command result.
-
Runs on the server side.
/rtp
- Teleports target entities to a random grid-aligned position within the specified cuboid area.
- Usage:
/rtp <targets> <from> <to> - Runs on the server side.
/coords
- Client-side command to save, list, remove, and copy named block positions.
- Positions are saved per world/server in a JSON file (
saved_cords.json) inside your Minecraft folder. - Usage:
/coords save <name>— saves your current player block position under<name>./coords list— lists all saved positions for the current world/server./coords remove <name>— deletes the saved position<name>./coords copy <name>— copies the saved coordinates<name>to your clipboard asx y z.
- Saved coordinates persist between Minecraft sessions.
- Runs on the client side.
/nearfill
- Fills a volume relative to the player’s position using an offset.
- Usage:
/nearfill <dx> <dy> <dz> <block>— fills the block at the offset from the player with<block>./nearfill <dx> <dy> <dz> <block> replace <replace>— replaces blocks.
- Runs on the server side.
/scan
- Returns the specified block count in an area.
- Usage:
/scan <from> <to> <block> - Runs on the server side.
/ifat
- Executes a command as all targets in an area.
- Usage:
/ifat <from> <to> <command> - Runs on the server side.
/area
- Executes a command for every block in an area.
- Usage:
/area <from> <to> <command> - Runs on the server side.
/findblock
- Finds the closest block in a radius and returns the axis.
- Usage:
/findblock <block> <radius> [<axis>] - Runs on the server side.
/ifpowered
- Detects if a block is powered.
- Usage:
/ifpowered <pos> [<not>] - The command fails if the block is not powered but succeeds if the not boolean is set to true.
- Runs on the server side.
/snapshot
- Used to restore areas.
- Usage:
/snapshot save <from> <to> <name> [<filterAir>]/snapshot restore <name>/snapshot remove <name>
- Runs on the server side.
/wait
- Delays command block chains
- Usage:
/wait <ticks> - Runs on the server side.
Keybinds
Copy Block Position (F6)
- Press
F6while looking at a block to copy its coordinates to your clipboard. - Coordinates format:
x y z.
Change Fly Speed (backtick)
- Scroll while holding
backtickto change fly speed.
Quick fill (F8)
- Press the key once to select the first corner of an area.
- Press again to select the second corner — the area will be filled with the block in your hand.
- Press Ctrl + key to manually clear the selection.
- If only the first point is selected, it will auto-clear after 30 seconds.
Activate (unset)
- It runs /activate on the block you are looking at
Scoreboard Criteria
Right-click
- Tracks when the player right-clicks with any item.
OP Permission
- Custom scoreboard criteria that detects if a player has operator permissions.
Other
Antikill
- Entities tagged
antikillcannot be killed by/kill.
Antitp
- Entities tagged
antitpcannot be teleported by/tp.
Entity selector count argument
- Can be used in any entity selector (
@e[...]) with thecountargument. - Supports a single number (
count=2) or a range (count=2..3). - The selector only targets entities if the number of matches falls within the specified range.
- If the number of matching entities is outside the range, no entities are targeted.
Exclude self argument
- When added to an entity selector (
exclude_self=true), it excludes the executor entity (@s) from the targets.
版本游戏版本平台发布时间本站下载
正式版
25.2.0
Vanilla Essentials: Technical Tools 25.2.0
1.211.21.1 Fabric 3 天前 ·
0
1.21
1.21.1
Fabric
3 天前
0
下载 Vanilla Essentials: Technical Tools
正式版
25.1.0
Vanilla Essentials: Technical Tools 25.1.0
1.21.11.21 Fabric 1 个月前 ·
0
1.21.1
1.21
Fabric
1 个月前
0
下载 Vanilla Essentials: Technical Tools
测试版
25.0.0+server-only
Vanilla Essentials: Technical Tools 25.0.0 server-only
1.21.11.21 Fabric 1 个月前 ·
0
1.21.1
1.21
Fabric
1 个月前
0
下载 Vanilla Essentials: Technical Tools
版本:25.0.0+server-only
游戏版本:1.21.1、1.21
平台:Fabric
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
25.0.0
Vanilla Essentials: Technical Tools 25.0.0
1.21.11.21 Fabric 2 个月前 ·
0
1.21.1
1.21
Fabric
2 个月前
0
下载 Vanilla Essentials: Technical Tools
正式版
24.0.0
Vanilla Essentials: Technical Tools 24.0.0
1.21.11.21 Fabric 4 个月前 ·
0
1.21.1
1.21
Fabric
4 个月前
0
下载 Vanilla Essentials: Technical Tools
正式版
23.2.0
Vanilla Essentials: Technical Tools 23.2.0
1.21.11.21 Fabric 5 个月前 ·
0
1.21.1
1.21
Fabric
5 个月前
0
下载 Vanilla Essentials: Technical Tools
正式版
23.1.0
Vanilla Essentials: Technical Tools 23.1.0
1.21.11.21 Fabric 7 个月前 ·
0
1.21.1
1.21
Fabric
7 个月前
0
下载 Vanilla Essentials: Technical Tools
正式版
23.0.0
Vanilla Essentials: Technical Tools 23.0.0
1.21.11.21 Fabric 8 个月前 ·
0
1.21.1
1.21
Fabric
8 个月前
0
下载 Vanilla Essentials: Technical Tools
正式版
23.0.0
Vanilla Essentials: Technical Tools 23.0.0
1.20.61.20.5 Fabric 8 个月前 ·
0
1.20.6
1.20.5
1.20.4
1.20.3, 1.20.2, 1.20.1
Fabric
8 个月前
0
下载 Vanilla Essentials: Technical Tools
版本:23.0.0
游戏版本:1.20.6、1.20.5、1.20.4 等
平台:Fabric
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
22.0.0
Vanilla Essentials: Technical Tools 22.0.0
1.21.11.21 Fabric 11 个月前 ·
0
1.21.1
1.21
Fabric
11 个月前
0
下载 Vanilla Essentials: Technical Tools
25.2.0
正式版
2026-11-14
改进后的射线检测命令
25.1.0
正式版
2026-10-16
添加了激活方块的快捷键
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
Woot Revived
pharuxtan
一个用于收集生物掉落物的多区块模组。
生物科技
349
模组
玉Jade ?
Snownee
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
实用前置
247
模组
物品管理器Just Enough Items (JEI)
mezz
查看物品与配方
前置实用
229
模组
Fast Noise
omo50
原版世界生成优化模组
优化世界生成
222
模组
Xaero的小地图
thexaero
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
冒险交通
196
模组
KubeJS
Lat
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
前置实用
181
评论 0
登录后参与评分
还没有评论,来抢沙发吧