"Go into the source code of the DeferredRegister class, find its create method, and look at it."
lol this is solution? I read thread I dont understand what do I do. so maybe you dont insulting new members and be more helpfull.
I have same error. this is my code;
public class RegistryHandler {
public static final DeferredRegister<Item> ITEMS = new DeferredRegister<>(ForgeRegistries.ITEMS, Reference.MOD_ID);
}
this is my error;
Cannot infer type arguments for DeferredRegister<>
I am new to modding so please explain clearly.
(forge version 1.16.2-33.0.61)