Java 类net.minecraft.client.particle.EntityFireworkSparkFX 实例源码

项目:RuneCraftery    文件:EntityFireworkStarterFX.java   
private void func_92034_a(double p_92034_1_, double p_92034_3_, double p_92034_5_, double p_92034_7_, double p_92034_9_, double p_92034_11_, int[] p_92034_13_, int[] p_92034_14_, boolean p_92034_15_, boolean p_92034_16_) {
   EntityFireworkSparkFX var17 = new EntityFireworkSparkFX(this.field_70170_p, p_92034_1_, p_92034_3_, p_92034_5_, p_92034_7_, p_92034_9_, p_92034_11_, this.field_92040_ay);
   var17.func_92045_e(p_92034_15_);
   var17.func_92043_f(p_92034_16_);
   int var18 = this.field_70146_Z.nextInt(p_92034_13_.length);
   var17.func_92044_a(p_92034_13_[var18]);
   if(p_92034_14_ != null && p_92034_14_.length > 0) {
      var17.func_92046_g(p_92034_14_[this.field_70146_Z.nextInt(p_92034_14_.length)]);
   }

   this.field_92040_ay.func_78873_a(var17);
}