212223242526272829
motionX = 0; motionY = 0; motionZ = 0; item = is; this.speed = speed; fi = new EntityFloatingItem( this, w, x, y, z, is.getItemStack() ); w.spawnEntityInWorld( fi ); particleMaxAge = (int) Math.ceil( Math.max( 1, 100.0f / speed ) ) + 2; }