2018-10-13 20:35:18 +02:00
|
|
|
package de.ellpeck.naturesaura.proxy;
|
|
|
|
|
|
|
|
import de.ellpeck.naturesaura.reg.IColorProvidingBlock;
|
|
|
|
import de.ellpeck.naturesaura.reg.IColorProvidingItem;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
import net.minecraft.util.ResourceLocation;
|
|
|
|
import net.minecraft.world.World;
|
|
|
|
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
|
|
|
|
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
|
|
|
|
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
|
|
|
|
|
|
|
|
public interface IProxy {
|
|
|
|
void preInit(FMLPreInitializationEvent event);
|
|
|
|
|
|
|
|
void init(FMLInitializationEvent event);
|
|
|
|
|
|
|
|
void postInit(FMLPostInitializationEvent event);
|
|
|
|
|
|
|
|
void registerRenderer(ItemStack stack, ResourceLocation location, String variant);
|
|
|
|
|
|
|
|
void addColorProvidingItem(IColorProvidingItem item);
|
|
|
|
|
|
|
|
void addColorProvidingBlock(IColorProvidingBlock block);
|
|
|
|
|
2018-10-14 14:27:18 +02:00
|
|
|
void spawnMagicParticle(World world, double posX, double posY, double posZ, double motionX, double motionY, double motionZ, int color, float scale, int maxAge, float gravity, boolean collision, boolean fade);
|
2018-10-13 20:35:18 +02:00
|
|
|
|
|
|
|
void scheduleTask(Runnable runnable);
|
|
|
|
}
|