Help with give.mcfunction
I am making a custom sword and this is the code for it:
give @a wooden_sword[max_damage=1,custom_name='"Earth Sword"',lore=['"Made From DIRT"'],enchantments={levels:{"minecraft:unbreaking":3}}] 1
However, when i change it the namespacegive function in minecraft just disappears Does anyone know why:
give @p wooden_sword[max_damage=500,custom_name='"Earth Sword"',item_name='"Earth Sword"',lore=['"Made From DIRT"'],rarity="epic",repair_cost=3,custom_model_data=1234,attribute_modifiers=[{id:"attack_damage",type:"generic.attack_damage",amount:20,operation:"add_value"},{id:"sweeping_damage_ratio",type:"player.sweeping_damage_ratio",amount:5,operation:"add_value"},{id:"attack_speed",type:"generic.attack_speed",amount:0.4,operation:"add_value"}]] 1