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);
}
Aggregations