Jump to content
  • Home
  • Files
  • Docs
Status Updates
  • All Content

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Pinary

Pinary

Members
 View Profile  See their activity
  • Content Count

    6
  • Joined

    January 18
  • Last visited

    February 9

Community Reputation

0 Neutral

About Pinary

  • Rank
    Tree Puncher

Converted

  • Gender
    Male
  1. Pinary

    Wall Trouble

    Pinary replied to Pinary's topic in Modder Support

    Tysm! Whoops, I thought I posted it under Modder Support. Sorry about that...
    • January 29
    • 2 replies
  2. Pinary Pinary changed their profile photo January 29
  3. Pinary started following Recipes Not Working/IItemProvider Help, Wall Trouble and Stonecutter Recipe Generator January 29
  4. Pinary

    Wall Trouble

    Pinary posted a topic in Modder Support

    I am able to create the wall block and it can connect to other blocks. My problem is they won't connect to themselves. The picture shows the problem. I also can't get the item to look correct. My code: Makes Wall Block public static final RegistryObject<WallBlock> WHITE_BRICK_WALL = register("white_brick_wall", () -> new WallBlock(AbstractBlock.Properties.create(Material.ROCK).hardnessAndResistance(2, 6).sound(SoundType.STONE))); Block State wallBlock(ModBlocks.WHITE_BRICK_WALL.get(), modLoc("block/white_bricks")); Item Model withExistingParent("white_bricks", modLoc("block/white_bricks")); Thanks for look at the problem
    • January 29
    • 2 replies
  5. Pinary

    Stonecutter Recipe Generator

    Pinary replied to Pinary's topic in Modder Support

    Tysm! I was able to get it working
    • January 28
    • 2 replies
  6. Pinary

    Stonecutter Recipe Generator

    Pinary posted a topic in Modder Support

    Is there a way to generate stonecutter recipes using data generators like this? ShapelessRecipeBuilder.shapelessRecipe(ModItems.WHITE_BRICK.get()) .addIngredient(Tags.Items.INGOTS_BRICK) .addIngredient(Tags.Items.DYES_WHITE) .addCriterion("has item", hasItem(Tags.Items.INGOTS_BRICK)) .build(consumer); I've looked around but can't seem to find one
    • January 27
    • 2 replies
  7. Pinary

    Recipes Not Working/IItemProvider Help

    Pinary replied to Pinary's topic in Modder Support

    TYSSSM!! It means a lot to me that you helped!
    • January 18
    • 2 replies
  8. Pinary

    Recipes Not Working/IItemProvider Help

    Pinary posted a topic in Modder Support

    I'm very new to modding (this is my first mod), so sorry if this seem stupid. I'm using data generators to generate my recipes and whenever I run them it doesn't give any errors, but it also fails to generate the recipes. My Code: package net.Pinary_Pi.my1stmod.data.recipes; import java.util.function.Consumer; import net.minecraft.data.IFinishedRecipe; import net.minecraft.data.RecipeProvider; import net.Pinary_Pi.gear.item.CraftingItems; import net.Pinary_Pi.my1stmod.setup.ModItems import net.Pinary_Pi.my1stmod.setup.ModTags; import net.minecraft.data.DataGenerator; import net.minecraft.data.ShapedRecipeBuilder; public class ModRecipesProvider extends RecipeProvider { public ModRecipesProvider(DataGenerator generatorIn) { super(generatorIn); } @Override protected void registerRecipes(Consumer<IFinishedRecipe> consumer) { ShapedRecipeBuilder.shapedRecipe(CraftingItems.STORAGE_BLOCKS_SILVER) .key('#', ModTags.Items.INGOTS_SILVER) .patternLine("###") .patternLine("###") .patternLine("###") .addCriterion("has item", hasItem(ModTags.Items.INGOTS_SILVER)) .build(consumer); ShapedRecipeBuilder.shapedRecipe(CraftingItems.INGOTS_SILVER, 9) .key('#', ModTags.Items.STORAGE_BLOCKS_SILVER) .patternLine("#") .addCriterion("has item", hasItem(ModTags.Items.STORAGE_BLOCKS_SILVER)) .build(consumer); } } I'm pretty sure I need to change the CraftingItems to something different, but everything else I put there causes an error that says "The method shapedRecipe(IItemProvider, int) in the type ShapedRecipeBuilder is not applicable for the arguments (RegistryObject<Item>, int). " I know I need to do something with IItemProvider, but I don't know how. CraftingItems is a library that someone named SilentChaos512 made that I saw him using in his mods; I tried to copy what he did with it and put it in my mod. I'm pretty sure I'm not using it correctly.
    • January 18
    • 2 replies
  • All Activity
  • Home
  • Pinary
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community