跳到正文

Karn’s Useful Command

作者:Karn

Unlock player NBT manipulation, Use various useful commands! Useful for datapack makers.

收藏

介绍

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

Features

  • Unlock Player Nbt Manipulation Restriction

Commands

Useful command for datapack/command makers

/absorption (entity) get|add|set: control entity’s absorption health, or get its value.

/fire (entity) get|add|set: control entity’s fire tick, or get its value.

/freeze (entity) get|add|set: control entity’s freezing tick(powder snow effect), or get its value.

/gravity (entity) on|off: toggle entity’s gravity.

/invulnerable (entity) on|off: toggle entity’s invulnerability.

/motion (entity) add|set|forward: gives motion to entity. forward option is calculated with entity’s rotation.

/player_abilities fly|flyspeed|walkspeed|instantBreak|allowBuild: modify player’s abilities.
instantBreak: toggle creative-like one punch block breaking. (Might not work)
allowBuild: toggle block placing. This would allow adventure mode to place block, and disallow creative mode to place block.

/heal (entity) heals an entity.

/food (entity) hunger|saturation add|get|set control player’s hunger or saturation

/fallfly make player fall-fly(elytra flying). Recommended to use per tick to actual fall fly.

/cooldown (player) (item) (cooldown) set item’s cooldown to prevent right click. (i.e. shield, ender pearl, chorus fruit)

/motionupdate (player) Updates player’s motion value. Useful for /data merge command.

/explosion (pos) (power) (exploder) (fire) (explosionType) Creates explosion!
You can leave out exploder, fire, explosionType for short usage.

/cameraset (target) spectate the target, but without limitation. You can spectate with any gamemode.

/hotbar (target) (number) set target’s selected hotbar slot with given number.

/rotate (target) add|set (number) set|add target’s rotation without teleportation

/damagetilt (target) (number)` tilt target’s camera like when they are damaged

/ptime (target) (time) set target’s world time to given time

/timeflow (target) rate|freeze (number|boolean) set target’s tick rate to given argument

常见问题

Karn’s Useful Command 支持哪些 Minecraft 版本?

Karn’s Useful Command 支持 Minecraft Java 版 1.19.4–26.3,共 14 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Karn’s Useful Command 怎么安装?

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

评论

登录后评论和评分

Karn 的其他作品

查看全部 →