功能
命令
适用于数据包/命令制作者的实用命令
/absorption (实体) get|add|set: 控制实体的吸收生命值,或获取其数值。
/fire (实体) get|add|set: 控制实体的火焰刻数,或获取其数值。
/freeze (实体) get|add|set: 控制实体的冻结刻数(粉雪效果),或获取其数值。
/gravity (实体) on|off: 切换实体的重力状态。
/invulnerable (实体) on|off: 切换实体的无敌状态。
/motion (实体) add|set|forward: 赋予实体运动速度。forward 选项会根据实体的朝向进行计算。
/player_abilities fly|flyspeed|walkspeed|instantBreak|allowBuild: 修改玩家的能力。
instantBreak: 切换类似创造模式的“一击碎块”效果。(可能无法正常工作)
allowBuild: 切换方块放置权限。这将允许冒险模式放置方块,并禁止创造模式放置方块。
/heal (实体) 治疗一个实体。
/food (实体) hunger|saturation add|get|set 控制玩家的饥饿值或饱和度
/fallfly 使玩家实现坠落飞行(鞘翅飞行)。建议逐刻执行以实现真正的坠落飞行。
/cooldown (玩家) (物品) (冷却时间) 设置物品的冷却时间以防止右键点击。(例如:盾牌、末影珍珠、紫颂果)
/motionupdate (玩家) 更新玩家的运动速度值。对 /data merge 命令有用。
/explosion (位置) (强度) (引爆者) (是否引燃) (爆炸类型) 创建爆炸!
简短使用时可以省略 引爆者、是否引燃、爆炸类型 参数。
/cameraset (目标) 以无限制方式旁观目标。你可以使用任何游戏模式进行旁观。
/hotbar (目标) (数字) 将目标的快捷栏选中槽位设置为指定数字。
/rotate (目标) add|set (数字) 在不传送的情况下设置/增加目标的旋转角度
/damagetilt (目标) (数字) 像角色受到伤害时那样倾斜目标的视角
/ptime (目标) (时间) 将目标所在世界的游戏时间设置为指定时间
/timeflow (目标) rate|freeze (数值|布尔值) 将目标的刻率设置为给定参数
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
评论 0
登录后参与评分
还没有评论,来抢沙发吧