How do I add already existing tags to blocks?

Started by Unfor on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I add already existing tags to blocks?
Fri, 06/23/2023 - 18:39 (edited)

Hello! I'm making a minecraft mod that completely revamps minecraft, but right now I'm working on the end dimension. I'm trying to add a custom cobblestone-like block, but I'm not sure how to add it to the cobblestone tag. I'm also not very sure if this would add the recipes of cobblestone to the block i'm making, because that would make it lots easier. thanks in advance!

Edited by Unfor on Fri, 06/23/2023 - 18:39
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello. I had the sameā€¦
Sun, 03/10/2024 - 11:39

Hello.

I had the same question, but no answer so far.
I wanted to have interoperability with the the create mod

Of course including the create mod is not what you want, but I had to do this first by modifying the gradle files (they have a documentation on how to do that).

I wanted to add the tag "create:wrench_pickup" to a block, so it can be picked up using the create wrench.
So I added a new tag to my mod called "CreateWrenchPickup".
Tag registry: wrench_pickup
Tag namespace: create
Tag type: Blocks
Elements under this tag: <- added the block of my mod here.

And it worked flawlessly :-)