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;
|
2021-12-06 14:38:12 +01:00
|
|
|
import net.minecraft.client.renderer.entity.EntityRendererProvider;
|
|
|
|
import net.minecraft.world.entity.Entity;
|
|
|
|
import net.minecraft.world.entity.EntityType;
|
2019-11-04 19:08:49 +01:00
|
|
|
import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
|
2018-10-13 20:35:18 +02:00
|
|
|
|
2020-01-23 19:20:47 +01:00
|
|
|
import java.util.function.Supplier;
|
|
|
|
|
2018-10-13 20:35:18 +02:00
|
|
|
public interface IProxy {
|
2021-12-06 14:38:12 +01:00
|
|
|
|
2019-11-04 19:08:49 +01:00
|
|
|
void preInit(FMLCommonSetupEvent event);
|
2018-10-13 20:35:18 +02:00
|
|
|
|
2019-11-04 19:08:49 +01:00
|
|
|
void init(FMLCommonSetupEvent event);
|
2018-10-13 20:35:18 +02:00
|
|
|
|
2019-11-04 19:08:49 +01:00
|
|
|
void postInit(FMLCommonSetupEvent event);
|
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
|
|
|
|
2019-02-19 17:23:03 +01:00
|
|
|
void setParticleDepth(boolean depth);
|
|
|
|
|
|
|
|
void setParticleSpawnRange(int range);
|
2020-01-23 19:20:47 +01:00
|
|
|
|
2020-02-28 15:36:12 +01:00
|
|
|
void setParticleCulling(boolean cull);
|
|
|
|
|
2021-12-06 14:38:12 +01:00
|
|
|
<T extends Entity> void registerEntityRenderer(EntityType<T> entityClass, Supplier<EntityRendererProvider<T>> renderFactory);
|
2018-10-13 20:35:18 +02:00
|
|
|
}
|