forked from mushroomhostage/BuildCraft
-
Notifications
You must be signed in to change notification settings - Fork 1
/
mod_BuildCraftEnergy.java
executable file
·49 lines (40 loc) · 1.06 KB
/
mod_BuildCraftEnergy.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
package net.minecraft.server;
import buildcraft.energy.TileEngine;
import forge.NetworkMod;
import java.util.Random;
public class mod_BuildCraftEnergy extends NetworkMod
{
public static mod_BuildCraftEnergy instance;
public mod_BuildCraftEnergy()
{
instance = this;
}
public void modsLoaded()
{
super.modsLoaded();
BuildCraftEnergy.initialize();
ModLoader.registerTileEntity(TileEngine.class, "net.minecraft.server.buildcraft.energy.Engine");
ModLoader.registerTileEntity(TileEngine.class, "net.minecraft.src.buildcraft.energy.Engine");
instance = this;
}
public String getVersion()
{
return "2.2.14";
}
public void generateSurface(World var1, Random var2, int var3, int var4)
{
BuildCraftEnergy.generateSurface(var1, var2, var3, var4);
}
public void load()
{
BuildCraftEnergy.load();
}
public boolean clientSideRequired()
{
return true;
}
public boolean serverSideRequired()
{
return false;
}
}