mirror of
https://github.com/GTNewHorizons/Gadomancy.git
synced 2026-11-26 23:03:18 +00:00
- Created dynamic Server-Client synchronization framework
- Moved Familiar-Handling to new framework
This commit is contained in:
1 parent
4730d251a1
commit
cc8c9e88ec
42 files changed
+598
-358
No files matched your search
@@ -8,12 +8,12 @@ import makeo.gadomancy.client.ClientProxy;
|
||||
import makeo.gadomancy.common.aura.AuraEffects;
|
||||
import makeo.gadomancy.common.containers.ContainerArcanePackager;
|
||||
import makeo.gadomancy.common.containers.ContainerInfusionClaw;
|
||||
import makeo.gadomancy.common.data.ModConfig;
|
||||
import makeo.gadomancy.common.data.SyncDataHolder;
|
||||
import makeo.gadomancy.common.data.config.ModConfig;
|
||||
import makeo.gadomancy.common.events.EventHandlerEntity;
|
||||
import makeo.gadomancy.common.events.EventHandlerGolem;
|
||||
import makeo.gadomancy.common.events.EventHandlerNetwork;
|
||||
import makeo.gadomancy.common.events.EventHandlerWorld;
|
||||
import makeo.gadomancy.common.familiar.FamiliarHandlerServer;
|
||||
import makeo.gadomancy.common.network.PacketHandler;
|
||||
import makeo.gadomancy.common.registration.ModSubstitutions;
|
||||
import makeo.gadomancy.common.registration.RegisteredBlocks;
|
||||
@@ -50,7 +50,6 @@ import java.util.List;
|
||||
*/
|
||||
public class CommonProxy implements IGuiHandler {
|
||||
public static final EventHandlerGolem EVENT_HANDLER_GOLEM = new EventHandlerGolem();
|
||||
public FamiliarHandlerServer familiarHandler;
|
||||
|
||||
public void onConstruct() { }
|
||||
|
||||
@@ -67,8 +66,6 @@ public class CommonProxy implements IGuiHandler {
|
||||
}
|
||||
|
||||
public void initalize() {
|
||||
familiarHandler = new FamiliarHandlerServer();
|
||||
|
||||
NetworkRegistry.INSTANCE.registerGuiHandler(Gadomancy.instance, this);
|
||||
|
||||
MinecraftForge.EVENT_BUS.register(EVENT_HANDLER_GOLEM);
|
||||
@@ -82,6 +79,7 @@ public class CommonProxy implements IGuiHandler {
|
||||
|
||||
RegisteredRecipes.init();
|
||||
|
||||
SyncDataHolder.initialize();
|
||||
ModSubstitutions.init();
|
||||
|
||||
RegisteredPotions.init();
|
||||
@@ -101,8 +99,6 @@ public class CommonProxy implements IGuiHandler {
|
||||
RegisteredItems.postInit();
|
||||
|
||||
ModSubstitutions.postInit();
|
||||
|
||||
familiarHandler.setupPostInit();
|
||||
}
|
||||
|
||||
public static void unregisterWandHandler(String modid, Block block, int metadata) {
|
||||
|
||||
Reference in new issue
Block a user