Need help with PotionEffect Builder

You need to make sure you’re targeting Java 8.