This chapter is from the book
Workshop
Finally you have created something that changes the game. Answer the following questions and do the exercises to make sure you understand it.
Quiz
- What is the code name of an Ocelot?
Does the following smelting recipe give the player a lot of XP?
GameRegistry.addSmelting(Items.gold_nugget, new ItemStack(Blocks.obsidian), 3F);
- If you want to create a flint and steel recipe that uses a flint and an iron ingot, which kind of recipe is the best choice?
Answers
- The name is “Ozelot.”
- Yes, three times as much as smelting diamond ore.
- The best choice is a shapeless recipe.