Now registering tile packets
This commit is contained in:
parent
08adc8756e
commit
be5d2bd90c
3 changed files with 7 additions and 1 deletions
|
@ -28,6 +28,7 @@ import resonantinduction.core.ResonantInduction;
|
|||
import resonantinduction.core.Settings;
|
||||
import resonantinduction.core.TabRI;
|
||||
import calclavia.lib.content.ContentRegistry;
|
||||
import calclavia.lib.network.PacketAnnotation;
|
||||
import calclavia.lib.network.PacketHandler;
|
||||
import calclavia.lib.prefab.item.ItemBlockMetadata;
|
||||
import calclavia.lib.recipe.UniversalRecipe;
|
||||
|
@ -101,6 +102,8 @@ public class Archaic
|
|||
itemHammer = contentRegistry.createItem(ItemHammer.class);
|
||||
proxy.preInit();
|
||||
Settings.save();
|
||||
|
||||
PacketAnnotation.register(TileFirebox.class);
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
|
|
|
@ -35,7 +35,6 @@ import com.google.common.io.ByteArrayDataInput;
|
|||
* @author Calclavia
|
||||
*
|
||||
*/
|
||||
@Synced
|
||||
public class TileFirebox extends TileElectricalInventory implements IPacketReceiver, IFluidHandler
|
||||
{
|
||||
/**
|
||||
|
|
|
@ -38,6 +38,7 @@ import resonantinduction.mechanical.turbine.BlockWindTurbine;
|
|||
import resonantinduction.mechanical.turbine.TileWaterTurbine;
|
||||
import resonantinduction.mechanical.turbine.TileWindTurbine;
|
||||
import calclavia.lib.content.ContentRegistry;
|
||||
import calclavia.lib.network.PacketAnnotation;
|
||||
import calclavia.lib.network.PacketHandler;
|
||||
import calclavia.lib.recipe.UniversalRecipe;
|
||||
import cpw.mods.fml.common.Mod;
|
||||
|
@ -132,6 +133,9 @@ public class Mechanical
|
|||
|
||||
proxy.preInit();
|
||||
Settings.save();
|
||||
|
||||
PacketAnnotation.register(TileWindTurbine.class);
|
||||
PacketAnnotation.register(TileWaterTurbine.class);
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
|
|
Loading…
Reference in a new issue