Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 1.22 KB

step2-custom-items.md

File metadata and controls

25 lines (19 loc) · 1.22 KB

Creating Items

  • Lets create some custom items in Minecraft - we're going to follow MrCrayfish's Minecraft 1.8 Modding tutorial - Episode 3 - Custom Items.

  • We should have already set up our development environment.

  • We should have created our mod class

  • Create a new package

    • src/main/java/nz.cdr.minecrafttutorial - Right Click and New -> Package.
      • We'll use the name nz.cdr.minecrafttutorial```````.init```, or whatever you chose for the previous package name, with .init```` after it.
      • Click Finish.
  • Create a new class

    • src/main/java/nz.cdr.minecrafttutorial.init - Right Click and New -> Class.
      • Give it the name TutorialItems.
      • Click Finish.
  • TO DESCRIBE:

  • TutorialItems class

  • Proxy package and classes

  • Describe extends and @Override.

  • Client and Server proxies are to do different stuff on the client and the server.

  • If it comes up with an Organize Imports dialogue when you press [Ctrl-Shift-O], choose net.minecraft.item.item.

Run the mod