Skip to content

Conversation

@tehbeard
Copy link
Contributor

@tehbeard tehbeard commented Oct 1, 2025

  • Bump mod version to 1.2.9
  • Updated to 1.21.9
  • Updated owo-lib dep to 0.12.22+1.21.9
  • Adds a delay action, this adds a configurable delay (given in ticks) before the next action is executed.
  • 1.21.8 -> 1.21.9 Involved changes to the keybind code, cursory testing shows it to be working, but has not been extensively tested alongside other mods.
quick-menu-delay

For users who don't want to wait: A build is available on my fork here, in the artifacts.zip. Use at own risk.

@tehbeard
Copy link
Contributor Author

tehbeard commented Oct 3, 2025

Not sure why the auto build failed here, ran fine on my branch.

https://github.com/tehbeard/quick-menu/actions/runs/18170950921

@maybeToby90
Copy link

Hey @tehbeard
Unfortunately, I don't know how to contact you, apparently not at all. I'm always a little overwhelmed by GitHub because I find the overview very confusing, but apparently there's no messaging function here either 😅

Since I'm currently using your fork version of Quick Menu for 1.21.8 and 1.21.10, I wanted to ask you if it's possible for users to add their own icons. Is there already a way to do this, or is it not feasible at all?

Sending lots of love & thanks for your Forks 🩷
Tobi

@tehbeard
Copy link
Contributor Author

@maybeToby90 Custom icons can be added (The code's existed since before I started my fork), but it's not as simple as just adding a png unfortunately. I've documented what I can find from checking the mod code, and links to relevant sections of the wiki.

First up you can set a field labelled "custom model data", under the advanced section when editing a action.

image

This defaults to a 0 as previously this used the model_id in older versions of the mod/minecraft, prior to the data component change in 1.20.5.

This value now gets passed in as a "string" (letters and such are allowed) into the custom_model_data component on the item.
https://minecraft.wiki/w/Data_component_format#custom_model_data

example: If you picked a redstone_block, and set this field to the value "star", the item would render the same as one from the following give command:
/give tehbeard redstone_block[custom_model_data={strings:["star"]}]

You need to make a resource pack, that overrides the item model for the item you use, that uses this custom model data to render your custom icon.

https://minecraft.wiki/w/Items_model_definition#select

Unfortunately, I don't really have much first hand knowledge on how to make such a resource pack.
I know they're doable because that's how Hermitcraft did those custom shop trophies etc in the previous seasons.

https://github.com/Simplexity-Development/Custom_Model_Data_Guide this seems to have a good guide from what I can tell, it gives an example of how to modify the iron_nugget so that by default it renders as normal, but if custom_model_data is set it then renders a different texture. This does also carry a slight chance of clashes with a regular resource pack you use if it changes the models for it's own uses (typically this is on stuff like swords to show durability based textures etc)

When I get to updating my fork for 1.21.11, I will have a look into supporting the item_model option as well.

This won't cut down on the resource pack work you'd need to do, but it would prevent clashes, as you wouldn't need to modify an existing item, you just add a new custom model (e.g. a toby:backpack model) and use that, rather than having to modify an exsiting model for raw_cod or such to add the backpack model to it.

I'll also look at spending some time looking at that C.M.D guide I linked, and make an example resource pack to showcase how to add custom icons.

@maybeToby90
Copy link

Oh wow, thank you so much for this very detailed answer and information 🩷

It's sad that it was solved in such a complicated way. Just reading it raised even more questions, so I'll have to read up on the links later.

Thanks again for your efforts and for updating the mod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants