Main.java:10: error: class Layer is public, should be declared in a file named Layer.java
public class Layer {
^
Main.java:3: error: package net.minecraftforge.common does not exist
import net.minecraftforge.common.MinecraftForge;
^
Main.java:4: error: package net.minecraftforge.event does not exist
import net.minecraftforge.event.ForgeSubscribe;
^
Main.java:5: error: package net.minecraftforge.event.entity.player does not exist
import net.minecraftforge.event.entity.player.PlayerEvent;
^
Main.java:6: error: package cpw.mods.fml.common does not exist
import cpw.mods.fml.common.Mod;
^
Main.java:7: error: package cpw.mods.fml.common.event does not exist
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
^
Main.java:9: error: cannot find symbol
@Mod(modid = "layer", name = "Layer", version = "0")
^
symbol: class Mod
Main.java:13: error: cannot find symbol
public void onPreInit(FMLPreInitializationEvent event)
^
symbol: class FMLPreInitializationEvent
location: class Layer
Main.java:19: error: package PlayerEvent does not exist
public void getBreakSpeed(PlayerEvent.BreakSpeed event)
^
Main.java:12: error: package Mod does not exist
@Mod.EventHandler
^
Main.java:18: error: cannot find symbol
@ForgeSubscribe
^
symbol: class ForgeSubscribe
location: class Layer
Main.java:15: error: package MinecraftForge does not exist
MinecraftForge.EVENT_BUS.register(this);
^
12 errors