-
Notifications
You must be signed in to change notification settings - Fork 71
/
CommonProxy.java
78 lines (61 loc) · 2.15 KB
/
CommonProxy.java
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/*******************************************************************************
* @author Reika Kalseki
*
* Copyright 2017
*
* All rights reserved.
* Distribution of the software in any form is only allowed with
* explicit, prior permission from the owner.
******************************************************************************/
package Reika.RotaryCraft;
import net.minecraft.world.World;
import Reika.DragonAPI.Instantiable.IO.SoundLoader;
import Reika.DragonAPI.Libraries.Java.ReikaJavaLibrary;
import Reika.DragonAPI.ModInteract.Lua.LuaMethod;
import Reika.RotaryCraft.Registry.DifficultyEffects;
import Reika.RotaryCraft.Registry.EngineType;
import Reika.RotaryCraft.Registry.ExtractorBonus;
import Reika.RotaryCraft.Registry.MobBait;
import Reika.RotaryCraft.Registry.PacketRegistry;
import Reika.RotaryCraft.Registry.PlantMaterials;
import Reika.RotaryCraft.Registry.PowerReceivers;
import Reika.RotaryCraft.Registry.SoundRegistry;
public class CommonProxy
{
public static int IOGoggles;
public static int NVGoggles;
public static int NVHelmet;
public static int armor;
public static int SteelArmor;
public static int pipeRender;
public static int cubeRender;
public static int connectedRender;
protected static final SoundLoader sounds = new SoundLoader(SoundRegistry.class);
/**
* Client side only register stuff...
*/
public void registerRenderers()
{
//unused server side. -- see ClientProxy for implementation
}
public void addArmorRenders() {}
public World getClientWorld() {
return null;
}
public void registerRenderInformation() {
}
public void registerSounds() {
}
public void initClasses() {
ReikaJavaLibrary.initClass(DifficultyEffects.class, true);
ReikaJavaLibrary.initClass(ExtractorBonus.class, true);
ReikaJavaLibrary.initClass(MobBait.class, true);
ReikaJavaLibrary.initClass(PlantMaterials.class, true);
ReikaJavaLibrary.initClass(EngineType.class, true);
ReikaJavaLibrary.initClass(PacketRegistry.class, true);
ReikaJavaLibrary.initClass(PowerReceivers.class, true);
LuaMethod.registerMethods("Reika.RotaryCraft.ModInterface.Lua");
}
public void loadDonatorRender() {
}
}// End class CommonProxy