DroidCrafter23 Posted June 3, 2024 Posted June 3, 2024 I am wanting to add an axe to my mod though I do not want it to have a recipe, the reason for this being that I want you to only be able to find it in a structure. I have looked on both here and elsewhere on the internet and have found nothing... How would this be done? (Video for reference.) Quote
Toasterkid Posted June 4, 2024 Posted June 4, 2024 If you don't want an item to have a recipe then simply don't create the .json file for it in the `your_mod/recipes/` directory. Quote
DroidCrafter23 Posted June 5, 2024 Author Posted June 5, 2024 The tutorial I have been following uses the recipe in the code, could you give a replacement I could use? It would be much appreciated. public static final Tier DAMAGED_WAR_AXE = TierSortingRegistry.registerTier( new ForgeTier(1, 175, 5f, 4.0F, 1.5F, ModTags.Blocks.NEEDS_X_TOOL, () -> Ingredient.of(ModItems.X.get())), new ResourceLocation(DroidsAncientRelics.MOD_ID, "x"), List.of(Tiers.X), List.of()); X's show what is yet to be added. I am unsure whether the ModTag is necessary or not as I want the War Axe to be used as if it were an Iron Axe for that purpose. Quote
Recommended Posts
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.