Started by
engrishLINGLING
on
Topic category: Help with MCreator software
I want a vanilla block to have a custom tag from my mod, how can I do this?
I made a tag and under the elements section I chose the vanilla block, and then I made a recipe which produced a modded block using the tag, but when I ran the client, the recipe did not seem to exist.
Edit: I have also been able to verify that the vanilla block does not seem to have the modded tag despite me putting the vanilla block in the elements section of the tag configuration.
Edited by engrishLINGLING on Tue, 06/22/2021 - 05:24
did you make it an item tag and select the vanilla block's block item (the block's form when in inventory and is used to place it)? coz from what i understood, you seem to mean that you wanna use the vanilla blocks as item form in your recipe which accepts a tag from your mod. if yes, only use "item" tag type and do not use "block", otherwise it will only apply when the selected block is placed on the world and it can't be used in a recipe
also it'd be very helpful to post screenshots next time :)
When using tags in recipes,
it has to be written as:
<namespace>:<tag>
true. make sure you've done both of those, and your recipe will most likely start working!
I made changes based on the above advice and now my elements look like the following:
I can't really remember if I need another mod to see more than the block ID, but both of those blocks should have had the tag bootleg:andesite and they don't.
i see... pains me to say this but you're doing it wrong, I don't think it's Minecraft or MCreator's fault. don't put your mod ID + the name of the tag on the namespace! if you're making a tag only for your mod, put "mod" and MCreator will handle that for you; if you're making a Forge tag put "forge", and if you're making a Minecraft tag put "minecraft". coz fyi, MC will automatically handle the tag by appending a colon ':' after its namespace then adding the registry name you set. so for example, if you put "forge" in namespace and "diorite" in registry name it'll become "forge:diorite". but if you put "bootleg: andesite" in your tag's namespace and then "bootleg_andesite" in its registry name, it'll end up like "bootleg:andesite:bootleg_andesite", which breaks the standard of tags in Minecraft as that's not how they're supposed to be named. one more thing iirc, colons are not allowed in namespaces.
hopefully you'll be able to understand what you got wrong and fix the tag ^^