summaryrefslogtreecommitdiff
path: root/src/main/java/jp/plusplus/fbs/ProxyServer.java
diff options
context:
space:
mode:
authorBenjamin Culkin <scorpress@gmail.com>2024-08-24 08:16:37 -0400
committerBenjamin Culkin <scorpress@gmail.com>2024-08-24 08:16:37 -0400
commit70c1354a4a96698758a88c032866288f79de6f5a (patch)
treeeca51294e84b90a4cb3230bc2c7900469e784184 /src/main/java/jp/plusplus/fbs/ProxyServer.java
Initial commitHEADtrunk
Diffstat (limited to 'src/main/java/jp/plusplus/fbs/ProxyServer.java')
-rw-r--r--src/main/java/jp/plusplus/fbs/ProxyServer.java51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/main/java/jp/plusplus/fbs/ProxyServer.java b/src/main/java/jp/plusplus/fbs/ProxyServer.java
new file mode 100644
index 0000000..5a21789
--- /dev/null
+++ b/src/main/java/jp/plusplus/fbs/ProxyServer.java
@@ -0,0 +1,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(){
+ }
+}