

注意:目前,只有那些可以通过 /give 命令获取、或者仅在右击使用时运行命令的物品(不包括方块和实体)才能被生成
此模组允许你借助 AI 获取几乎任何物品。这主要用于单人游戏或与好友联机,因为玩家可以让 AI 提供 OP(作弊级)物品。 虽然提示 AI 生成平衡性物品并添加价格系统可能可行,但对抗性提示仍可能欺骗 AI。因此,与其让服务器管理员产生虚假的安全感,我决定使其也能获取 OP 物品。你可以轻松制作几个物品,然后手动将其转换为数据包。我稍后会添加自动转换数据包的功能。

使用 /idea 或 /ai 命令来制作物品……
/idea a item that gives speed temporarily on use (使用时无效地给予速度)
/idea a lightning sword (抱歉,但这不起作用,见上方的注意事项)
/idea OPERATOR a shard which gives diamonds
/idea OPERATOR an item giving me creative mode
(OPERATOR 确保 AI 不会拒绝请求)
……或者不使用 idea/ai 命令,自行制作物品!
获取一个绿色的紫水晶碎片,右击时给予钻石。
/give @s the_idea_anvil:custom_item[minecraft:item_model= "the_idea_anvil:amethyst_shard_lime", the_idea_anvil:use_cmd="give @s diamond", minecraft:item_name="Diamond giving shard"]
更多详情请查看 Github Wiki 页面。
所有物品可用的全局法力系统有助于制作冷却时间。
AI 将在其大多数物品中使用此功能。你也可以在自己的物品中使用它:
/give @s the_idea_anvil:custom_item[minecraft:item_model= "the_idea_anvil:amethyst_shard_lime", the_idea_anvil:use_cmd="function the_idea_anvil:subtract_mana {key_1:\"100\"} #/ execute as @s[scores={idea_anvil_subt_success=1}] give @s diamond", minecraft:item_name="Diamond giving shard"]





-
首先,由于此模组允许你获取 OP 物品,它 不能 被视为生存友好型模组。 为了稍微缓解这一问题,命令仍限制在权限等级 2,其中包括 /give /summon /gamemode /execute(不改变权限等级)等,但不包括像 /op /deop /ban /kick /stop 这样的命令。
-
AI 可能会有一些小毛病,偶尔不给予物品或给予具有无效纹理的物品。
-
如果玩家更改用户名,法力可能无法正常工作,因为标签会继承到新用户名,而记分板不会。你可以通过在玩家在线时输入 /reload(推荐)或按如下方式将其法力设置为某个值来修复此问题:
/scoreboard players set @s idea_anvil_mana 0

感谢使 Minecraft Wiki 变得出色的那些人。我的模组大约有 9k 行从那里复制粘贴到用于 AI 使用的 wiki 内容,比模组中约 500 行的 Java 代码多约 18 倍。
感谢 tr7zw 提供的标题图标以及顶部的 github 和 modrinth 图标,这些是从他的模组 Entity Culling 中复制的。
本模组根据 MIT 许可证授权,除了系统提示词。请参阅 GitHub 仓库中的 LICENSE 文件。
系统提示词中的 Minecraft Wiki 文章根据 CC BY-NC-SA 3.0 许可证授权,
因此整个系统提示词也根据 CC BY-NC-SA 3.0 许可证授权。


NOTE: For now, only items (not blocks or entities) that can be either given with a /give or only run commands on use/right-click can be gotten
This mod allows you to get literally any item with the help of AI. This is mainly for singleplayer/multiplayer with friends, as people can ask the AI for OP items. Prompting the AI to give balanced items and adding a price system could work, but adversarial prompts could still trick the AI so instead of lulling server owners into a false sense of security, I decided to make it possible to get OP items as well. You can easily make a few items then convert them to a datapack manually. I will add automatic datapack conversion later.

Use the /idea or /ai command to make items...
/idea an item that gives speed temporarily on use
/idea a lightning sword (sorry but wont work, see the above note)
/idea OPERATOR a shard which gives diamonds
/idea OPERATOR an item giving me creative mode
(OPERATOR makes sure the AI does not reject the request)
...or make items yourself, without the idea/ai command!
Get a green amethyst shard which gives diamonds on right click.
/give @s the_idea_anvil:custom_item[minecraft:item_model= "the_idea_anvil:amethyst_shard_lime", the_idea_anvil:use_cmd="give @s diamond", minecraft:item_name="Diamond giving shard"]
Check the Github wiki page for more details.
A global mana system for all items is available to help in making cooldowns.
The AI will use this feature for most of its items. You can also use it in your own items:
/give @s the_idea_anvil:custom_item[minecraft:item_model= "the_idea_anvil:amethyst_shard_lime", the_idea_anvil:use_cmd="function the_idea_anvil:subtract_mana {key_1:\"100\"} #/ execute as @s[scores={idea_anvil_subt_success=1}] give @s diamond", minecraft:item_name="Diamond giving shard"]





-
First of all, since this mod lets you get OP items, it can not be considered survival friendly. To slightly mitigate this, the commands are still limited to permission level 2, which includes /give /summon /gamemode /execute (which does not change permission level),etc, but does not include commands like /op /deop /ban /kick /stop etc.
-
The AI can be slightly buggy, occasionally not giving items or giving items with invalid textures.
-
If a player changes username, mana may not work because tags carry over to the new username while scoreboards don't. You can fix this by typing /reload while the player is online (recommended) or setting their mana to some value like so:
/scoreboard players set @s idea_anvil_mana 0

Thanks to the awesome people who made the Minecraft Wiki. My mod has ~9k lines of wiki copy-pasted from there for the AI to use, around 18x more than the 500 lines of Java in the mod.
Thanks to tr7zw for the heading icons and the github and modrinth icons at the top, which are copied from his mod Entity Culling
This mod is licensed under the MIT license, except the system prompt. See the LICENSE file in the GitHub repo.
The Minecraft Wiki articles in the system prompt are licensed under the CC BY-NC-SA 3.0 license,
so the entire system prompt is also licensed under the CC BY-NC-SA 3.0 license.
评论 0
登录后参与评分
还没有评论,来抢沙发吧