Hi, I'm a new modder. I'm having some trouble creating a mob bucket item, and I would really appreciate some help.
Here is the error message:
The constructor MobBucketItem(RegistryObject<EntityType<Eel>>, FlowingFluid, SoundEvent, Item.Properties) is undefined
Here is the code:
public static final RegistryObject<MobBucketItem> EEL_BUCKET = ITEMS.register("eel_bucket", () -> new MobBucketItem(EntityInit.EEL, Fluids.WATER, SoundEvents.BUCKET_EMPTY_FISH, (new Item.Properties().tab(CreativeModeTab.TAB_MISC))));
Putting a .get() after EntityInit.EEL fixes the error, but the game crashes when I try to load it.