The idea anvil logo

Bell Icon with heading for About

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.

Diamond icon with heading for Features

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"]

Painting icon with heading for Screenshots / Media

Screenshot

Screenshot

Screenshot

Barrier icon with heading for Known Issues

  • 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

Cookie icon with heading for Credits & License

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.


Project members

itzmetanjim

Member

Details

Licensed MIT
Published 2 months ago
Updated 2 months ago