-
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.
- We'll use the name
-
Create a new class
src/main/java/nz.cdr.minecrafttutorial.init
- Right Click and New -> Class.- Give it the name
TutorialItems
. - Click Finish.
- Give it the name
-
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]
, choosenet.minecraft.item.item
.