summaryrefslogtreecommitdiff
path: root/src/main/java/jp/plusplus/fbs/ProxyServer.java
blob: 5a21789f292ec90692f3836b88eb4bbb76f8fc09 (plain)
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
package jp.plusplus.fbs;

import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
import jp.plusplus.fbs.storage.ChunkLoadManager;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.world.World;
import net.minecraftforge.common.ForgeChunkManager;

/**
 * Created by plusplus_F on 2015/01/31.
 */
public class ProxyServer {

    public World getClientWorld() {
        return null;
    }
    public void register() {

        Registry.RegisterOreDictionary();
        Registry.RegisterCraftingRecipes();
        Registry.RegisterChestContents();
        Registry.RegisterEntities();
        Registry.RegisterTileEntities();
        Registry.RegisterPotion();
        Registry.RegisterWorldGen();

        registerAchievement();

        ForgeChunkManager.setForcedChunkLoadingCallback(FBS.instance, ChunkLoadManager.instance());
    }
    public int registerRenderer(ISimpleBlockRenderingHandler renderer){
        return -1;
    }
    public void registerAchievement(){
        //AchievementChecker.register();
    }

    public void loadNEI(){}
    public EntityPlayer getEntityPlayerInstance(){
        return null;
    }

    // なんでクラスそのものにCLIENT限定とかつけてんの?
    public float getRenderPartialTicks(){
        return 0;
    }
    public void setRenderPartialTicks(float f){
    }
    public void updateTimer(){
    }
}