Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Meisa

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Meisa

  • Rank
    Tree Puncher

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Fixed the issue by referring to the ResourceLocation instead of Item. Like so: public class Blueprint extends Item { public List<Resource> resources; public ResourceLocation outputItem; public Blueprint(Properties properties, List<Resource> resources, ResourceLocation outputItem) { super(properties); this.resources = resources; this.outputItem = outputItem; } public static class Resource { public final ResourceLocation resourceLocation; public final int amount; public Resource(ResourceLocation resourc
  2. I'm trying to register an object that uses other items in the class but I'm not sure how to make it register properly Blueprints.java: (creating new blueprint) public class Blueprints { private static final List<Blueprint.Resource> SKANA_RESOURCES = Arrays.asList( new Blueprint.Resource(Items.STICK, 1), new Blueprint.Resource(Resources.MORPHICS.get(), 1) ); public static final RegistryObject<Item> SKANA_BLUEPRINT = Registration.ITEMS.register("skana_blueprint",
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.