NaturesAura/src/main/java/de/ellpeck/naturesaura/proxy/IProxy.java
2020-02-28 15:36:12 +01:00

36 lines
1.2 KiB
Java

package de.ellpeck.naturesaura.proxy;
import de.ellpeck.naturesaura.reg.IColorProvidingBlock;
import de.ellpeck.naturesaura.reg.IColorProvidingItem;
import de.ellpeck.naturesaura.reg.ITESRProvider;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityType;
import net.minecraftforge.fml.client.registry.IRenderFactory;
import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
import java.util.function.Supplier;
public interface IProxy {
void preInit(FMLCommonSetupEvent event);
void init(FMLCommonSetupEvent event);
void postInit(FMLCommonSetupEvent event);
void addColorProvidingItem(IColorProvidingItem item);
void addColorProvidingBlock(IColorProvidingBlock block);
void registerTESR(ITESRProvider provider);
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);
void setParticleDepth(boolean depth);
void setParticleSpawnRange(int range);
void setParticleCulling(boolean cull);
<T extends Entity> void registerEntityRenderer(EntityType<T> entityClass, Supplier<IRenderFactory<T>> renderFactory);
}