Decompiled by Jad v1 8e Copyright 2001 Pavel Kouznetsov Jad home page

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3)
// Source File Name: Screener.java
package net.eahraeh.Screener;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.eventhandler.EventBus;
import cpw.mods.fml.common.network.NetworkRegistry;
import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
import net.minecraftforge.common.MinecraftForge;
// Referenced classes of package net.eahraeh.Screener:
// MessageRegistry, Events
public class Screener
{
public Screener()
{
}
public void preLoad(FMLPreInitializationEvent event)
{
MessageRegistry.init(mainNetworkChannel);
FMLCommonHandler.instance().bus().register(new Events());
MinecraftForge.EVENT_BUS.register(new Events());
}
public static final SimpleNetworkWrapper mainNetworkChannel;
public static Screener instance = new Screener();
static
{
mainNetworkChannel = NetworkRegistry.INSTANCE.newSimpleChannel("screener");
}
}