@DragonITA i do not know what i did wrong. It's exactly like you said. https://gitlab.com/Emily_Ravenhold/enderSlime/-/commit/f97f6a092e671c4f6e32c2a326f13f80330fb124
Yeah, i tried to fix that exception and didn’t give enough attention to code architecture. I’ll refactor when it will work. It is a totally different than 1.12.2 modding so there is not too much new modes or information about new versions. Thanks.
Why it doesn’t work?
public static final RegistryObject<EntityType<EnderSlimeEntity>> ENDER_SLIME_OBJ = ENTITIES.register("enderslime", () -> ENDER_SLIME);