The answer is probably super obvious but how do I make a custom sword for Minecraft 1.15.2? I have most the code written out but I need help with one part of it. Here's my code:
public static final RegistryObject<Item> KNIFE = ITEMS.register("knife", () -> new SwordItem(ItemTier.IRON, 4, 1.3F, ));
It tells me I need to put an Item.Properties builder but I don't know how to do that, and yes I did try and learn some Java (it was a Codecademy course). So what am I meant to put after 1.3F (which is the sword attack speed)?