Jump to content

[1.17.1] Mod Blocks and Items are ignored by autocompletion


Recommended Posts

I've noticed something strange when using commands like /give or /setblock. Essentially the mod blocks and items are kinda ignored by these commands (these two are just an example, but this behaviour happens to all commands in the game).
Let me explain:
Let's say you have a block in your mod registered as mymod:my_cobblestone_block

If you type /give Dev bble, the vanilla Cobblestone block shows in the suggestions list but not the mod blocks. This is because the suggestions look for blocks and items that contains the word you typed in (in this case minecraft:cobblestone contains the word bble)
This system only works for mod blocks and items if you type the mod_id first. For example, typing
/give Dev mymod:bble will make the my_cobblestone_block appear in the suggestions list.

Is there any way to prevent this and make the mod blocks and items appear in the suggestions list even without typing the mod id first?

Don't blame me if i always ask for your help. I just want to learn to be better :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.