跳到正文

Tophat

作者:JustJabka

Adds various utilities for datapacks, such as /gui, /motion, player data, and more

收藏

截图

介绍

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

📖 About

Adds various commands and other utilities. Datapackers and mapmakers may find this useful.

👀 Main Features

  • Player Data Access: Gives ability to read and modify the player using the vanilla /data command

Player data showcase

Commands

  • /motion <add/set> <entity> <momentum> – Applies the given momentum to the entity.
  • /gui <open/close> <player> <menu> <name> <force>
  1. close – Closes a menu for the player. You can optionally specify the type of menu that should be closed.
  2. open – Opens a menu for the player. You can optionally specify the name of the container and whether it should open on top of other menus (false by default).
  • /eval <expression> <scale> <arguments/with> – Evaluates mathematical and logical expressions represented as a string and returns its completion value. Supports variables via arguments and with macros.
  • /provoke <victim> <provoker> – Provokes victim against provoker. If victim is a passive entity, it will panic instead.
  • /findblock <from> <to> <block> store <block/entity/storage> – Searches for specific blocks within a defined cuboid. If the store argument is provided, it stores all found block IDs and their coordinates in the specified destination, returning the total count. Otherwise, returns 1 or 0 based on success.

Full functionality is described on the wiki 💡

常见问题

Tophat 支持哪些 Minecraft 版本?

Tophat 支持 Minecraft Java 版 26.2,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Tophat 怎么安装?

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

评论

登录后评论和评分

JustJabka 的其他作品

查看全部 →