Changelog
Overview:
- Added wildcards (
*
) - Added the
/cd context
command /cd set
has changed how you set an item/cd list
now include visual buttons to remove or edit.- Item command suggestions will only include damage-able items now (this could backfire if some items don't work with the way I check for 'damage-able' items, so let me know if some items aren't showing!)
- Developing for old Minecraft versions should be easier now, the codebase is now based on stonecutter!
Command changes, updates, and improvements!
Updated /cd list
, now shows text you can click to either edit, or remove an entry!
- Clicking
[Edit]
will just automatically type the command/cd set item <item_name> <previous_durability>
- Clicking
[Remove]
will automatically run the command/cd clear <item_name>
- Each time you click remove, (or run the remove command) it lists all items again, so make sure you're always scrolled down. (I feel slightly unsure about this behaviour, so if you think this is bad let me know!)
- Also shows the real durability of an armor if the armor multiplier config is on.
- Also, now shows all the contents of an item tag, whenever possible.
Updated /cd set <item_name> <durability>
Now you have to specify either:
item
, to specify an actual minecraft item or tag.wildcard
, you can now try to add things in bulk using wildcards! (I do want to say I implemented my own wildcard parser and in all my tests it works perfectly, but if it seems like it's not co-operating, let me know!)
item
Examples:
/cd set item minecraft:diamond_pickaxe 100
/cd set item #cd:tools/diamond 100
wildcard
Examples:
/cd set wildcard minecraft:*diamond* 100
/cd set wildcard minecraft:*wooden* 100
/cd set wildcard minecraft:diamond* 100
/cd set wildcard minecraft:*diamond 100
- What 1, and 2 will do is add anything that starts with
minecraft:
and hasdiamond
orwooden
anywhere in its id! - 3 adds anything that starts with
minecraft:diamond
and can end with whatever sominecraft:diamond_pickaxe
will match. - 4 adds anything that starts with
minecraft:
and ends indiamond
sominecraft:pickaxe_diamond
would match, although that's not a real item.
Context
When you run /cd set wildcard <string> <durability>
it won't immediately add the matched items into your config, it will add them to a temporary context, which you can clean up any unwanted matches first.
Say you run /cd set wildcard minecraft:*diamond* 100
that will add all diamond armors and diamond tools to your context, so you can selectively remove or edit which ones you want to add to your config!
This also introduces the /cd context
command, this pretty much has exactly the same commands as inside of /cd
, basically list
, clear
, set
, except for 3 unique ones, confirm
, cancel
and filter
-
confirm
will add all the items you have in your current context to your config. -
cancel
will just clear the context. -
filter
will filter all of your items in your current context based off of 4 inputsTOOL
WEAPON
ARMOUR
OTHER
- Make sure you have something in your context and then run for example:
/cd context filter TOOL
, this will keep only tools in your context.
- Make sure you have something in your context and then run for example:
-
set
also addsall
command, which sets all the durabilities in your context list to a given durability
Dependencies
Files
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Metadata
Release channel
ReleaseVersion number
0.5.0+1.20.5Loaders
Game versions
1.20.5–1.20.6Downloads
19Publication date
August 28, 2024 at 8:32 PMPublisher
GravityIO
Owner