Identifier is abstract. #4120
-
DescriptionI tried to create my own item and the Identifier interface gave an error that it does not accept values, but on the site docs.fabricmc.net says that you need to enter values (Mod ID and Item Name). package mc.andrelin.mod.realismod.item; import mc.andrelin.mod.realismod.Realismod; import static net.minecraft.core.registries.Registries.ITEM; public class adminBanStick{
} Error: C:\Users\KlepN\realismmod\src\main\java\mc\andrelin\mod\realismod\item\adminBanStick.java:21: error: Identifier is abstract; cannot be instantiated |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I've solved the problem |
Beta Was this translation helpful? Give feedback.
I've solved the problem
This was because I was using official mappings instead of Yarn mappings