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;
|
2018-10-26 12:03:42 +02:00
|
|
|
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
|
2018-10-13 20:35:18 +02:00
|
|
|
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);
|
|
|
|
|
2018-10-26 12:03:42 +02:00
|
|
|
void registerRenderer(ItemStack stack, ModelResourceLocation location);
|
2018-10-13 20:35:18 +02:00
|
|
|
|
|
|
|
void addColorProvidingItem(IColorProvidingItem item);
|
|
|
|
|
|
|
|
void addColorProvidingBlock(IColorProvidingBlock block);
|
|
|
|
|
2018-11-13 00:36:47 +01:00
|
|
|
void spawnMagicParticle(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);
|
|
|
|
}
|