Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • Crafting Recipes?
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 0
yanksrock1019

Crafting Recipes?

By yanksrock1019, January 20, 2014 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

yanksrock1019    2

yanksrock1019

yanksrock1019    2

  • Creeper Killer
  • yanksrock1019
  • Members
  • 2
  • 193 posts
Posted January 20, 2014

Does anyone know the knew way of telling minecraft what block to use in the crafting recipe of a new item. You used to just put "Block.(some block)"

  • Quote

Don't tell me to learn the basics of java, I already know.

Share this post


Link to post
Share on other sites

diesieben07    7581

diesieben07

diesieben07    7581

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7581
  • 54884 posts
Posted January 20, 2014

It didn't change.

  • Quote

Share this post


Link to post
Share on other sites

yanksrock1019    2

yanksrock1019

yanksrock1019    2

  • Creeper Killer
  • yanksrock1019
  • Members
  • 2
  • 193 posts
Posted January 20, 2014

It didn't change.

 

Are you sure, because it won't allow me to do that.

  • Quote

Don't tell me to learn the basics of java, I already know.

Share this post


Link to post
Share on other sites

diesieben07    7581

diesieben07

diesieben07    7581

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7581
  • 54884 posts
Posted January 20, 2014

Do what? You still just pass a Block instance in...

  • Quote

Share this post


Link to post
Share on other sites

skullywag    0

skullywag

skullywag    0

  • Creeper Killer
  • skullywag
  • Members
  • 0
  • 102 posts
Posted January 20, 2014

throw your code in here, im sure someone will spot the problem.

  • Quote

Share this post


Link to post
Share on other sites

Kuuu    2

Kuuu

Kuuu    2

  • Stone Miner
  • Kuuu
  • Members
  • 2
  • 62 posts
Posted January 20, 2014

If you're on 1.7.2, use Blocks.block_name

  • Quote

Share this post


Link to post
Share on other sites

yanksrock1019    2

yanksrock1019

yanksrock1019    2

  • Creeper Killer
  • yanksrock1019
  • Members
  • 2
  • 193 posts
Posted January 20, 2014

This is the code for the crafting.  It doesn't give me errors, but it won't show up in game.

 

 public void craftingRecipes(){;

	GameRegistry.addRecipe(new ItemStack(PupletMod.pupletPickaxe), new Object[]{
		"PPP", " S ", " S ",
		'P', PupletMod.ingotPuplet,
		'S', Items.stick
	});


    }

  • Quote

Don't tell me to learn the basics of java, I already know.

Share this post


Link to post
Share on other sites

diesieben07    7581

diesieben07

diesieben07    7581

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7581
  • 54884 posts
Posted January 20, 2014

Where do you call that method?

  • Quote

Share this post


Link to post
Share on other sites

yanksrock1019    2

yanksrock1019

yanksrock1019    2

  • Creeper Killer
  • yanksrock1019
  • Members
  • 2
  • 193 posts
Posted January 20, 2014

Nvm, I figured it out. Thanks!

  • Quote

Don't tell me to learn the basics of java, I already know.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • mireyaruff
      my server doens`t work

      By mireyaruff · Posted 31 minutes ago

      Thx, appreciate it!
    • Badnews4u
      My forge server won't load all the mods

      By Badnews4u · Posted 46 minutes ago

      Went through all the steps to make forge server hosted from my computer. I was able to successfully launch the server, but after joining the server I noticed not all my mods were working. Most notably it didn't generate a world with biomes o' plenty when I made sure to set the biomes o' plenty default world setting in the configs to true. Also gravestone mod won't give me gravestones. I made sure to update my java and everything and yes, I made sure to create the server using the forge .jar file. Any suggestions on how to fix this?
    • Lellian
      [SOLVED] [1.16.4] Change Block Hitbox/Outline

      By Lellian · Posted 2 hours ago

      Well this is embarrasing. I don't know how I missed this, but it fixed everything.   Thank you very much 🤣🔫
    • Draco18s
      [SOLVED] [1.16.4] Change Block Hitbox/Outline

      By Draco18s · Posted 2 hours ago

      Cough.  
    • Lellian
      [SOLVED] [1.16.4] Change Block Hitbox/Outline

      By Lellian · Posted 3 hours ago

      What do you mean? ExampleBlock is the small stone thing you see in the picture. It gets registered just fine (Via a DeferredRegistry), I can place it and then you see what is in the picture. This is about the hitbox/outline of the block, which I want to be smaller.
  • Topics

    • peermans
      2
      my server doens`t work

      By peermans
      Started January 7

    • Badnews4u
      0
      My forge server won't load all the mods

      By Badnews4u
      Started 46 minutes ago

    • Lellian
      4
      [SOLVED] [1.16.4] Change Block Hitbox/Outline

      By Lellian
      Started 4 hours ago

    • Chicckenprell
      0
      stoneblock 1.12.2 server crashing

      By Chicckenprell
      Started 4 hours ago

    • Veo
      2
      Unable to start LAN server detection: Can't assign requested address [Server][Modded][1.16.4]

      By Veo
      Started 8 hours ago

  • Who's Online (See full list)

    • Belial
    • jbredwards
    • Choonster
    • delta
    • Draco18s
    • Klarks
    • Badnews4u
    • TheHook
    • KirbyTheStar
    • LevelNaomi
    • Kreepydude
    • ChampionAsh5357
    • HEHEHAHAHA
    • Lellian
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • Crafting Recipes?
  • Theme

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