Posted March 19, 20205 yr Adding tag minecraft.planks do not provide vanilla recipes (for example creating crafting table, chest or sticks). Similarly, tag minecraft.sand do not provide smelting recipe for a glass block. It works fine for example with minecraft.dragon_immune or enderman_holdable.
March 19, 20205 yr Show your code. Better yet, link a working git repository. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
March 19, 20205 yr Author I just placed planks.json in resources/data/minecraft/tags/blocks directory. https://github.com/SaturninUfolud/PGC
March 19, 20205 yr https://github.com/SaturninUfolud/PGC/blob/master/java/saturnin_ufolud/pgc/block/PgcBlocks.java#L40 Problematic Code #14 You have a block registry event handler, use it. Or delete that one because you have two. You can't do this here either. Do not, under any circumstances, create a registry entry in any place other than the registry event for that registry object type. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
March 19, 20205 yr Author I removed this unnecessary handler but it didn't help, unfortunately. Should I register block tags in some way besides putting appropriate .json files in data.minecraft.tags.blocks ? However, the #minecraft.planks tag is displayed in F3 mode. I don't register in forge objects here, but these functions only adds objects to ArrayLists in my class "PgcRegistry" and set their registry name, I register these objects later for example here.
March 19, 20205 yr 31 minutes ago, Saturnin_UFOlud said: only adds objects to ArrayLists in my class "PgcRegistry" and set their registry name Yes. Don't do exactly that thing. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
March 20, 20205 yr Author I found what I was doing wrong. I added tags only to blocks not items. I should have placed the same .json files also in data.minecraft.tags.items. Now everything works fine. Edited March 20, 20205 yr by Saturnin_UFOlud
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.