package info.u_team.u_team_test.item;

import info.u_team.u_team_core.item.UItem;
import info.u_team.u_team_test.init.TestItemGroups;
import net.minecraft.item.*;
import net.minecraft.potion.*;
import net.minecraftforge.api.distmarker.*;

public class BasicFoodItem extends UItem {
	
	private static final Food food = (new Food.Builder()).hunger(4).saturation(1.2F).effect(() -> new EffectInstance(Effects.GLOWING, 200, 0), 1).setAlwaysEdible().fastToEat().build();
	
	public BasicFoodItem(String name) {
		super(name, TestItemGroups.GROUP, new Properties().rarity(Rarity.RARE).food(food));
	}
	
	@OnlyIn(Dist.CLIENT)
	@Override
	public boolean hasEffect(ItemStack stack) {
		return true;
	}
}

@@ -314,20 +314,20 @@
 al Food 
-food
+FOOD
  = (new 
@@ -589,20 +589,20 @@
 E).food(
-food
+FOOD
 ));%0D%0A%09%7D%0D

Use caps for constants