FuseBox

关于 AI 使用的免责声明(点击阅读)
关于 AI 使用的免责声明
我希望在这个项目中尽可能透明地说明我对 AI 的使用情况。
我知道许多人对 AI 持非常批判的态度,我也是如此。但我相信 AI 也可以被非常有效地利用。
如果您认为这个话题很重要,请完整阅读以下说明。
本项目主要使用 AI(Gemini 3(部分也涉及 3.5)Flash)构建。这包括相当一部分代码和文档。
关于代码:
虽然大部分代码是由 AI 生成的,但我理解其工作原理和运行机制。我知道存在哪些系统和子系统,它们如何运作以及如何相互交互。我并不声称我能独自编写整个项目,我缺乏相关的知识,更不用说时间了。然而,我确实理解我的项目是如何工作的。因此,我也能够测试和调试这些系统并自行解决问题。
关于文档:
我不擅长撰写文档,因为我的思维过程和解释往往让他人难以理解。因此,我创建了文档以及与之配套的生成器,以便方便地使用 AI。
结论:
如果有人想知道这份免责声明是否也是由 AI 撰写的:不是。我用母语(德语)写了它,然后通过经典的 Google Translate 将其翻译成英文。
我理解您可能因为大量使用 AI 而不愿使用这个项目,甚至可能对此感到反感。但对我来说,保持透明和开放非常重要。我也想明确指出,我的其他所有项目都不是用 AI 创建的。 我可以编写数据包,理解数据包的工作原理,并能操作它们(我经常使用 YouTuber "Craiy" 的 "Scythe" 编辑器)。对我来说,创建一个能让我在未来更容易创建自己的数据包甚至世界的数据包非常重要。
希望这个解释阐明了我是如何使用 AI 以及为何使用 AI。
这是什么?
FuseBox 是一个旨在简化其他数据包开发的数据包。FuseBox 本身是一个库数据包,这意味着它自身并不执行任何操作。但是,开发者可以使用 FuseBox 来简化他们自己的数据包(甚至是整个世界)的开发流程。FuseBox 也可以作为模组安装,但对于数据包开发,我建议使用标准的数据包版本。FuseBox 目前处于早期开发阶段,未来将添加更多功能和系统。目前有四个系统可用:秒表、倒计时、动作栏显示和事件。
为了帮助使用该资源包,有一份完整的文档,其中还包含用于创建秒表、注册事件等内容的简单配置工具。
事件系统
通过 FuseBox 事件系统,当发生某些基于玩家的事件时,您可以自动为玩家执行命令或函数,这些事件包括:
- onJoin(加入游戏)
- onDeath(死亡)
- onLeave(离开游戏)
- onKillPlayer(击杀玩家)
- onKilledByPlayer(被玩家击杀)
- onDamage(受到伤害)
- onEntityKill(击杀实体)
- whileOnline(在线期间)
- whileOffline(离线期间)
- onRightClick(右键点击,指定物品)
- onHoldItem(手持,指定物品)
您可以将这些命令和函数注册到这些事件中。两者都将作为触发该事件的玩家执行。函数还会将玩家名称作为参数 "$(player)" 传入。
秒表与倒计时
使用 FuseBox,您可以轻松创建内部秒表和倒计时,并可选择性地将其显示给特定或所有玩家的屏幕上方区域(动作栏)。它们的显示外观几乎每个方面都可以针对每个秒表/倒计时进行配置。您可以使用文档中的配置工具来创建您需要的所有命令,以创建、显示和暂停秒表/倒计时。
动作栏显示
这仍处于非常早期的开发阶段,目前它是秒表和倒计时用于向选定或所有玩家显示其数据的系统。由于此处所有内容都受控制,因此可以暂时为一个或多个玩家覆盖动作栏,在特定持续时间内显示自定义文本。
FuseBox

DISCLAIMER ON AI USAGE (click to read)
Disclaimer on AI usage
I want to be as transparent as possible regarding my use of AI in this project.
I understand that many people are very critical of AI, and I am too. But I believe that AI can also be used very effectively.
If you find this topic important, please read the following explanation in its entirety.
This project is largely built using AI (Gemini 3 (partially also 3.5) Flash). This includes a significant portion of the code and the documentation.
Regarding the code:
Although a large part of the code is AI-generated, I understand how it works and operates. I know which systems and subsystems exist, how they function, and how they interact with each other. I don't claim that I could program the entire project myself, I lack the knowledge and, above all, the time. However, I do understand how my project works. Therefore, I am also able to test and debug these systems and solve problems myself.
Regarding documentation:
I'm really not good at writing documentation, as my thought processes and explanations often don't make sense to others. Therefore, I created the documentation and the associated generators for easy use with AI.
Conclusion:
In case anyone is wondering whether this disclaimer was also written with AI: no. I wrote it in my native language (German) and translated it into English using the classic Google Translate.
I understand if you don't want to use this project due to the intensive use of AI, or if you even actively dislike it. But it's important to me to be transparent and open. I also want to make it clear that all my other projects are not created with AI. I can code datapacks, I understand how datapacks work, and I can work with them (I often use the "Scythe" editor by the YouTuber "Craiy"). It was important to me to create a datapack that would make it easier for me to create my own datapacks or even worlds in the future.
I hope this explanation has clarified how and why I used AI.
What?
FuseBox is a datapack designed to simplify the development of other datapacks. FuseBox itself is a library datapack, meaning it doesn't do anything on its own. However, developers can use FuseBox to streamline the development of their own datapacks (or even entire worlds). FuseBox can also be installed as a mod, but for datapack development, I recommend the standard datapack version. FuseBox is currently in early development, so many more features and systems will be added in the future. Currently, there are four systems available: Stopwatch, Countdown, Actionbar Display, and Events.
To help using the pack, there is a full documentation which also includes simnple configurators for stuff like creating a stopwatch, registering an event etc.
Event system
With the FuseBox event system you can automatically execute commands or functions as a player when certain player based events happen, these include:
- onJoin
- onDeath
- onLeave
- onKillPlayer
- onKilledByPlayer
- onDamage
- onEntityKill
- whileOnline
- whileOffline
- onRightClick (with specified item)
- onHoldItem (with specified item)
You can register commands and functions to these events. Both will be executet as the player that triggered the event. Functions will also get the name of the player as an argument "$(player)".
Stopwatches & Countdowns
With FuseBox you can easily create intern stopwatches and countdowns and optionally show them to certain or all players in the actionbar. Almost every aspect of their appearance is configurable per stopwatch/countdown. You can use the configurator in the documentation to create all commands you need to create, show and pause the stopwatches/countdowns.
Actionbar Display
This is still very early in development, currently it's the system the stopwatches and countdowns use for displaying their data for selected or all players. Since everything here is controlled, it is possible to temporarily override the action bar for one or more players with custom text for a specific duration.
评论 0
登录后参与评分
还没有评论,来抢沙发吧