2013-12-27 16:59:59 -06:00
|
|
|
package appeng.core;
|
|
|
|
|
|
|
|
import java.util.List;
|
2014-01-29 20:47:55 -06:00
|
|
|
import java.util.Random;
|
2013-12-27 16:59:59 -06:00
|
|
|
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
2014-02-19 22:20:38 -06:00
|
|
|
import net.minecraft.item.ItemStack;
|
2014-02-16 15:28:50 -06:00
|
|
|
import net.minecraft.util.MovingObjectPosition;
|
2013-12-27 16:59:59 -06:00
|
|
|
import net.minecraft.world.World;
|
2014-08-02 23:53:34 -05:00
|
|
|
import appeng.api.parts.CableRenderMode;
|
2013-12-27 16:59:59 -06:00
|
|
|
import appeng.block.AEBaseBlock;
|
2014-02-23 16:50:53 -06:00
|
|
|
import appeng.client.EffectType;
|
2014-02-08 19:34:52 -06:00
|
|
|
import appeng.core.sync.AppEngPacket;
|
2013-12-27 16:59:59 -06:00
|
|
|
import cpw.mods.fml.common.SidedProxy;
|
|
|
|
|
|
|
|
public abstract class CommonHelper
|
|
|
|
{
|
|
|
|
|
|
|
|
@SidedProxy(clientSide = "appeng.client.ClientHelper", serverSide = "appeng.server.ServerHelper")
|
|
|
|
public static CommonHelper proxy;
|
|
|
|
|
|
|
|
public abstract void init();
|
|
|
|
|
|
|
|
public abstract World getWorld();
|
|
|
|
|
|
|
|
public abstract void bindTileEntitySpecialRenderer(Class tile, AEBaseBlock blk);
|
|
|
|
|
|
|
|
public abstract List<EntityPlayer> getPlayers();
|
|
|
|
|
2014-02-08 19:34:52 -06:00
|
|
|
public abstract void sendToAllNearExcept(EntityPlayer p, double x, double y, double z, double dist, World w, AppEngPacket packet);
|
2013-12-27 16:59:59 -06:00
|
|
|
|
2014-07-09 03:17:11 -05:00
|
|
|
public abstract void spawnEffect(EffectType effect, World worldObj, double posX, double posY, double posZ, Object extra);
|
2014-01-28 13:27:22 -06:00
|
|
|
|
2014-01-29 20:47:55 -06:00
|
|
|
public abstract boolean shouldAddParticles(Random r);
|
|
|
|
|
2014-02-16 15:28:50 -06:00
|
|
|
public abstract MovingObjectPosition getMOP();
|
|
|
|
|
2014-07-06 21:04:58 -05:00
|
|
|
public abstract void doRenderItem(ItemStack itemstack, World w);
|
2014-02-19 22:20:38 -06:00
|
|
|
|
2014-04-19 20:41:43 -05:00
|
|
|
public abstract void postinit();
|
|
|
|
|
2014-08-02 23:53:34 -05:00
|
|
|
public abstract CableRenderMode getRenderMode();
|
2014-07-06 21:04:58 -05:00
|
|
|
|
2014-08-02 23:53:34 -05:00
|
|
|
public abstract void triggerUpdates();
|
|
|
|
|
|
|
|
public abstract void updateRenderMode(EntityPlayer player);
|
2014-07-06 21:04:58 -05:00
|
|
|
|
2014-08-03 12:00:53 -05:00
|
|
|
public abstract void missingCoreMod();
|
|
|
|
|
2013-12-27 16:59:59 -06:00
|
|
|
}
|