Jump to content

RandomUser

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by RandomUser

  1. o i learned Javascript and i thought it was the same as java @DaemonUmbra So i thought i could try coding a mod
  2. What does this mean? C:\Users\Kevin\Desktop\Mods\TechExpansions\src\main\java\com\kevin\techexpansions\util\RegistryHandler.java:20: error: <T>DeferredRegister(IForgeRegistry<T>,String) has private access in DeferredRegister public static final DeferredRegister<Item> ITEMS = new DeferredRegister<>(ForgeRegistries.ITEMS, TechExpansions.MOD_ID); ^ where T is a type-variable: T extends IForgeRegistryEntry<T> declared in class DeferredRegister public static final DeferredRegister<Item> ITEMS = new DeferredRegister<>(ForgeRegistries.ITEMS, TechExpansions.MOD_ID); private static final Logger LOGGER = LogManager.getLogger(); that is the connected problem code
  3. actually i got the mod id to work is just now MOD_ID is not being reconised
  4. So I just started coding a mod and I started coding items. It says can't resolve symbol for mod name even tho i have already put this on the main class private static final String MOD_ID = "newmod"; public static final DeferredRegister<Item> Items = new DeferredRegister<>(ForgeRegistries.ITEMS, newmod.MOD_ID); yea idk whats going on
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.