Tutorial by Examples

This part hasn't changed over the versions of Minecraft a whole lot, although there have been some mutations in the exact method signatures as well as class hierarchy. A basic item (one that has no functionality, such as a stick or ingot: that's right, both are do-nothing items!) public class Cust...
As with blocks, items need models too. { "parent": "item/generated", "textures": { "layer0": "example:items/basic" } } That's pretty much all that's needed for it to work once the item is registered. The only important th...
Registering items is done from your main mod class, or a ModItems class method invoked from the main mod class during preInit. Item item = new CustomItem(); string registryname = "my_item"; item.setRegistryName(registryname); item.setUnlocalizedName(item.getRegistryName().toString()); ...

Page 1 of 1