Search in sources :

Example 1 with LiquidSprayFX

use of com.infinityraider.agricraft.renderers.particles.LiquidSprayFX in project AgriCraft by AgriCraft.

the class TileEntitySprinkler method spawnLiquidSpray.

@SideOnly(Side.CLIENT)
private void spawnLiquidSpray(double xOffset, double zOffset, Vec3d vector) {
    LiquidSprayFX liquidSpray = new LiquidSprayFX(this.getWorld(), this.xCoord() + 0.5F + xOffset, this.yCoord() + 8 * Constants.UNIT, this.zCoord() + 0.5F + zOffset, 0.3F, 0.7F, vector);
    Minecraft.getMinecraft().effectRenderer.addEffect(liquidSpray);
}
Also used : LiquidSprayFX(com.infinityraider.agricraft.renderers.particles.LiquidSprayFX) SideOnly(net.minecraftforge.fml.relauncher.SideOnly)

Aggregations

LiquidSprayFX (com.infinityraider.agricraft.renderers.particles.LiquidSprayFX)1 SideOnly (net.minecraftforge.fml.relauncher.SideOnly)1