Here's an example of how you override things:
@ObjectHolder("minecraft:quick_charge")
public static final Enchantment QUICK_CHARGE = null;
@SubscribeEvent
public void onRegistry(RegistryEvent.Register<Enchantment> reg){
//note: The class that you are using should be the one you made for the Enchantment Quickcharge. Enchantment class is an abstract class.
reg.getRegistry().register(new Enchantment().setRegistryName(new ResourceLocation("minecraft", "quick_charge")));
}
Same thing applies for entity types, etc.